GINO Graphics Suite - GINO v9.0  

gSetWindowMode

Syntax

[C/C++:]
void gSetWindowMode(int sw);
[F90:]
subroutine gSetWindowMode(sw)
integer, intent(in) :: sw

Arguments

sw
Windowing switch

= GOFF, Switch windowing off (default)
= GON, Switch on the windowing limits set prior to switching off
= GON2D, Switch 2-D windowing on and set the limits to those of the current viewport limits
= GON3D, Switch 3-D windowing on and set the limits to those of the current viewport limits

Description

The routine gSetWindowMode() switches windowing on or off, or sets the window limits to the current device limits.

Windowing can be switched on or off at any time during the picture sequence. Initially the windowing limits are set to the current device limits, so that the first time gSetWindowMode() is called these will be its limits for an argument value of sw not equal to GOFF.

With windowing on, all movements outside the limits are noted, so the re-entry point can be calculated.

The window limits are defined in picture coordinates and cannot be transformed.

See Also

gSetWindowMode Usage
gSetPolygonWindow
gEnqPolygonWindowList
gSetWindow2D
gSetWindow3D
gSetWindowMode