prefsize(3G)

prefsize - specifies the preferred size of a graphics window

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

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.