prefsi(3G)

prefsi - specifies the preferred size of a graphics window

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     prefsi - specifies the preferred size of a graphics window

FORTRAN 77 SPECIFICATION
     subroutine prefsi(x, y)
     integer*4 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
     prefsi specifies the preferred size of a graphics window as x pixels by y
     pixels.  Call prefsi at the beginning of a graphics program.

     Once a window is created, you must use prefsi with wincon in order to
     modify the enforced window size.  Calling winope activates the
     constraints specified by prefsi.  If winope is not called, prefsi is
     ignored.

SEE ALSO
     wincon, winope

NOTE
     This routine is available only in immediate mode.