Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prefsize(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



prefsize(3G)                                                      prefsize(3G)



NAME
     prefsize - specifies the preferred size of a graphics window

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

PARAMETERS
     x   expects the width of the graphics window.  The width is measured in
         pixels.

     y   expects the height of the graphics window.  The height is measured in
         pixels.

DESCRIPTION
     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
     ignored.

SEE ALSO
     winconstraints, winopen

NOTE
     This routine is available only in immediate mode.



























                                                                        Page 1



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