reshapeviewport(3G)
reshapeviewport - sets the viewport to the dimensions of the current graphics window
As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.
NAME reshapeviewport - sets the viewport to the dimensions of the current graphics window C SPECIFICATION void reshapeviewport() PARAMETERS none DESCRIPTION reshapeviewport 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. reshapeviewport is equivalent to: long xsize, ysize; getsize(&xsize, &ysize); viewport(0, xsize-1, 0, ysize-1); SEE ALSO getorigin, getsize, viewport NOTE This routine is available only in immediate mode.