stepunit(3G) — Silicon Graphics
NAME
stepunit − specifies that a graphics window 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 window change in discrete steps of xunit in the x direction and yunit in the y direction. Call stepunit at the beginning of a graphics program; 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
fudge, winopen Using mex, Chapter 2, Programming with mex
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987