Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stepunit(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

stepunit()  —  Silicon Graphics

NAME

stepunit - specifies that a graphics port should change size in discrete steps

SPECIFICATION

C
stepunit(xunit, yunit)
long xunit, yunit;

FORTRAN
subroutine stepun(xunit, yunit)
integer*4 xunit, yunit

Pascal
procedure stepunit(xunit, yunit: longint);

DESCRIPTION

stepunit specifies that the size of a graphics port will change in discrete steps of xunit in the x direction and yunit in the y direction.  It is called at the beginning of a graphics program that will be run with the window manager and takes effect when getport is called.  It is used to resize graphics ports in units of a standard size (in pixels).  When stepunit is called, the dimensions of the graphics port are:

width = xunit∗n
height = yunit∗m

If getport is not called, or if the system is not running the window manager, stepunit are ignored. 

SEE ALSO

getport, fudge
“Multiple Exposure: The IRIS Window Manager” in the IRIS User’s Guide

NOTE

This command can be used only in immediate mode. 

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026