pushviewport(3G) — Silicon Graphics
NAME
pushviewport − duplicates the current viewport
SPECIFICATION
C
pushviewport()
FORTRAN
subroutine pushvi
Pascal
procedure pushviewport;
DESCRIPTION
The current viewport is the top element in a stack of viewports. pushviewport duplicates the current viewport and pushes it on the stack. After pushviewport executes, there are two copies of the current viewport in the stack; you can change the top one without losing the previous one. In addition, it saves the screenmask and the setdepth parameters.
SEE ALSO
getscrmask, popviewport, setdepth, viewport Programming Guide, Section 4.4, Viewports
Version 3.6 — December 20, 1987