pushviewport() — Silicon Graphics
NAME
pushviewport - save the current viewport, screenmask, and setdepth parameters
SPECIFICATION
C
pushviewport()
FORTRAN
subroutine pushvi
Pascal
procedure pushviewport;
DESCRIPTION
The current viewport is the top element in a stack of viewports. The pushviewport command duplicates the current viewport and pushes it on the stack. After pushviewport, there are two copies of the current viewport in the stack; the top one can be changed without losing the old one. In addition, it saves the screenmask and the parameters specified by the setdepth command.
SEE ALSO
getscrmask, popviewport, setdepth, viewport
Version 2.4 — May 08, 1986