Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pushviewport()  —  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 old one.  In addition, it saves the screenmask and the parameters specified by setdepth

SEE ALSO

getscrmask, popviewport, setdepth, viewport IRIS Graphics Programming, Section 4.4, Viewports

Version 2.5  —  April 22, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026