Duplicates the current viewport.
void pushviewport( )
SUBROUTINE PUSHVI( )
The pushviewport subroutine pushes down the viewport stack, duplicating the current viewport, screenmask, and depth range. These saved values can be restored using the popviewport subroutine.
The viewport stack is VPSTACKDEPTH levels deep. The pushviewport subroutine is ignored if the stack is full. The VPSTACKDEPTH symbol is defined in the /usr/include/gl/gl.h file.
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
|/usr/include/gl/gl.h||Contains C language constant and variable type definitions for GL.|
|/usr/include/gl/fgl.h||Contains FORTRAN constant and variable type definitions for GL.|
Setting the viewport depth range with the lsetdepth subroutine.
Popping the viewport stack with the popviewport subroutine.
Defining a rectangular 2-D clipping mask with the scrmask subroutine.
Setting the area of the window used for all drawing with the viewport subroutine.
AIX Graphics Library Overview and Using Viewports and Screenmasks.