keepas(3G)

keepas - specifies the aspect ratio of a graphics window

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     keepas - specifies the aspect ratio of a graphics window

FORTRAN SPECIFICATION
     subroutine keepas(x, y)
     integer*4 x, y

PARAMETERS
     x   expects the horizontal proportion of the aspect ratio. The value must
         be between 1 and 32767 ($7fff), inclusive.

     y   expects the vertical proportion of the aspect ratio. The value must
         be between 1 and 32767 ($7fff), inclusive.

DESCRIPTION
     keepas specifies the aspect ratio of a graphics window.  Call it at the
     beginning of a graphics program. It takes effect when you call winope.
     The resulting graphics window maintains the aspect ratio specified in
     keepas, even if it changes size.

     For example, keepas(1, 1) always results in a square graphics window.
     You can also call keepas in conjunction with wincon to modify the
     enforced aspect ratio after the window has been created.

SEE ALSO
     fudge, wincon, winope

NOTE
     This routine is available only in immediate mode.