stepunit(3G) stepunit(3G)
NAME
stepunit - specifies that a graphics window change size in discrete steps
C SPECIFICATION
void stepunit(xunit, yunit)
long xunit, yunit;
PARAMETERS
xunit expects the amount of change per unit in the x direction. The
amount is measured in pixels.
yunit expects the amount of change per unit in the y direction. The
amount is measured in pixels.
DESCRIPTION
stepunit specifies the size of the change in a graphics window in
discrete steps of xunit and yunit. Call stepunit at the beginning of a
graphics program; it takes effect when you call winopen. stepunit
resizes graphics windows in units of a standard size (in pixels). If
winopen is not called, stepunit is ignored.
SEE ALSO
winopen, fudge
NOTE
This routine is available only in immediate mode.
Page 1