integer, intent(out) :: sw type (GLIMIT3), intent(out) :: bounds
Arguments
sw
State of windowing switch
= 0,
Windowing off, viewport limits returned
= 1,
Windowing on, user-defined limits returned
= 2,
Windowing on and set to viewport limits, viewport limits returned
= 3,
Windowing on and set to polygon, polygon boundary returned
bounds
Current window limits
Description
The routine gEnqWindowState() returns the current windowing state.
For a rectangular window set by gSetWindowMode(), gSetWindow2D() or gSetWindow3D(), the window limits are returned in bounds. For a polygonal window defined by gSetPolygonWindow() this routine only returns the rectangular extent of the defined polygons. The list of polygon identifiers can be obtained through gEnqPolygonWindowList().