prefsize - specifies the preferred size of a graphics window
void prefsize(x, y)
long x, y;
x expects the width of the graphics window. The width is measured in
y expects the height of the graphics window. The height is measured in
prefsize specifies the preferred size of a graphics window as x pixels by
y pixels. Call prefsize at the beginning of a graphics program.
Once a window is created, you must use prefsize with winconstraints in
order to modify the enforced window size. Calling winopen activates the
constraints specified by prefsize. If winopen is not called, prefsize is
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]