Returns the current screenmask.
FORTRAN (libfgl.a)
void getscrmask (Screencoord *left, Screencoord *right, Screencoord *bottom, Screencoord *top)
SUBROUTINE GETSCR(left, right, bottom, top) INTEGER*2 left, right, bottom, top
The getscrmask subroutine returns the dimensions of the current screenmask (the top of the screenmask stack) and copies these dimensions to the location variables specified as parameters. The left, right, bottom, top parameters are the addresses of four memory locations assigned the left, right bottom, and top coordinates of the screenmask.
Note: This subroutine cannot be used to add to a display list.
The example C language program prompt.c uses the getscrmask subroutine to get the current screenmask so that it can be restored later.
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. |
Pushing the viewport onto the viewport stack with the pushviewport subroutine.
Popping the viewport stack with the popviewport subroutine.
Defining a rectangular 2-D clipping mask with the scrmask subroutine.
AIX Graphics Library Overview, Querying the System, and Using Viewports and Screenmasks.