stepunit() — Silicon Graphics Silicon Graphics
NAME
stepunit - specifies that a graphport 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: long);
DESCRIPTION
stepunit specifies that the size of a graphport 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 graphports in units of a standard size (in pixels). When stepunit is called, the dimensions of the graphport will be:
width = xunit∗n
height = yunit∗m
If getport is not called, or if the system is not running the window manager, stepunit will be ignored.
SEE ALSO
getport, fudge
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985