Returns the current drawing mode.
FORTRAN (libfgl.a)
Int32 getdrawmode( )
INTEGER*4 FUNCTION GETDRA
The getdrawmode subroutine returns the current drawing mode specified by the drawmode subroutine.
Note: This subroutine cannot be used to add to a display list.
| Symbolic Name | ||
| C | FORTRAN | Draw mode | 
| UNDERDRAW | UNDRDR | Underlay (background) bitplanes | 
| NORMALDRAW | NORMDR | Main frame buffer bitplanes | 
| OVERDRAW | OVRDRW | Overlay (foreground) bitplanes | 
| PUPDRAW | PUPDRW | Pop-up menus | 
| CURSORDRAW | CURSDR | Cursor mode | 
The example C language program prompt.c uses the getdrawmode subroutine to get the current drawing mode 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. | 
Choosing a set of bitplanes for drawing with the drawmode subroutine.
Returning the current display mode with the getdisplaymode subroutine.
Popping the viewport stack with the popviewport subroutine.
Creating a Cursor, Removing Hidden Surfaces, and Working in Color Map and RGB Modes.
Configuring the Frame Buffer, Writemasks and Logical Operation, and Querying the System.