Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stepunit(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

stepunit()  —  Silicon Graphics

NAME

stepunit − specifies that a graphics window changes 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 window changes in discrete steps of xunit in the x direction and yunit in the y direction.  Call stepunit at the beginning of a graphics program that is run in the window manager; it takes effect when winopen is called.  stepunit resizes graphics windows in units of a standard size (in pixels).  When stepunit is called, the dimensions of the graphics window are:

width = xunit∗n
height = yunit∗m

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

SEE ALSO

winopen, fudge Using mex, the IRIS Window Manager

NOTE

This routine is available only in immediate mode. 

Version 2.5  —  April 22, 1987

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