GINO Graphics Suite - GINO v9.0  

gEnqWindowState

Syntax

[C/C++:]
void gEnqWindowState(int *sw, GLIMIT3 *bounds);
[F90:]
subroutine gEnqWindowState(sw, bounds)

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().

See Also

gEnqWindowState Usage
gSetPolygonWindow
gEnqPolygonWindowList
gSetWindow2D
gSetWindow3D
gSetWindowMode