Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ maxsize(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



maxsize(3G)                                                        maxsize(3G)



NAME
     maxsize - specifies the maximum size of a graphics window

C SPECIFICATION
     void maxsize(x, y)
     long x, y;

PARAMETERS
     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.

DESCRIPTION
     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(GDXPMAX) pixels wide and getgdesc(GDYPMAX)
     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.

SEE ALSO
     getgdesc, minsize, winopen

NOTE
     This routine is available only in immediate mode.
























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026