maxsize(3G) maxsize(3G)
maxsize - specifies the maximum size of a graphics window
void maxsize(x, y)
long x, y;
x expects the maximum width of a graphics window. The width is
measured in pixels.
y expects the maximum height of a graphics window. The height is
measured in pixels.
maxsize specifies the maximum size (in pixels) of a graphics window.
Call it at the beginning of a graphics program before winopen. maxsize
takes effect when winopen is called.
You can also call maxsize in conjunction with winconstraints to modify
the enforced maximum size after the window has been created. The default
maximum size is getgdesc(GD_XPMAX) pixels wide and getgdesc(GD_YPMAX)
pixels high. The user can reshape the graphics window, but the window
manager does not allow it to become larger than the specified maximum
size.
getgdesc, minsize, winopen
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|