GINO Graphics Suite - GINO v9.0  

gSetPolygonMode

Syntax

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

Arguments

sw
Vertices storage switch

= GOFF, Ignore all vertices for the purposes of defining polygon%%vertices
= GON, Store all vertices

Description

The routine gSetPolygonMode() controls two switches that affect the storing of polygon vertices:

(a) When called between gStartPolygon() and gEndPolygon() it controls the local switch which when set to GOFF suspends the storing of vertices. This switch is set to GON when gStartPolygon() is called.

(b) When called outside gStartPolygon/gEndPolygon() it controls the global switch which when set to GOFF disables all definition of polygons. It suppresses the storing of vertices and inhibits the action of gClearPolygonWorkspace(). This switch is initially set to GON.

See Also

gSetPolygonMode Usage
gStartPolygon
gClearPolygonWorkspace
gEndPolygon