reshap(3G)

reshap - sets the viewport to the dimensions of the current graphics window

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     reshap - sets the viewport to the dimensions of the current graphics
     window

FORTRAN 77 SPECIFICATION
     subroutine reshap

PARAMETERS
     none

DESCRIPTION
     reshap sets the viewport to the dimensions of the current graphics
     window.  Call it whenever REDRAW events are received for windows whose
     size is unconstrained, and therefore could have changed.

     reshap is equivalent to:

          integer*4 xsize, ysize

          call getsiz(xsize, ysize)
          call viewpo(0, xsize-1, 0, ysize-1)


SEE ALSO
     getori, getsiz, viewpo

NOTE
     This routine is available only in immediate mode.