getvie(3G)

getvie - gets a copy of the dimensions of the current viewport

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     getvie - gets a copy of the dimensions of the current viewport

FORTRAN 77 SPECIFICATION
     subroutine getvie(left, right, bottom, top)
     integer*2 left, right, bottom, top

PARAMETERS
     left     expects the variable into which the system should copy the x
              coordinate (in pixels) of the left side of the current view
              port.

     right    expects the variable into which the system should copy the x
              coordinate (in pixels) of the right side of the current view
              port.

     bottom   expects the variable into which the system should copy the y
              coordinate (in pixels) of the bottom side of the current view
              port.

     top      expects the variable into which the system should copy the y
              coordinate (in pixels) of the top side of the current view port.

DESCRIPTION
     getvie gets the dimensions of the current viewport and copies them to the
     variables specified as parameters.  The current viewport is defined as
     the viewport at the top of the viewport stack.

SEE ALSO
     popvie, pushvi, viewpo

NOTE
     This routine is available only in immediate mode.