GINO Graphics Suite - GINO v9.0  

gEnqPolygonMaskList

Syntax

[C/C++:]
void gEnqPolygonMaskList(int list[], int n, int *count);
[F90:]
subroutine gEnqPolygonMaskList(list, n, count)

integer, intent(in) :: n
integer, intent(out) :: list(*),count

Arguments

list
Integer array returning selected polygon identifiers

n
Number of polygon identifiers to return

= 0, Nothing returned in list

count
Number of polygon identifiers in last call to gSetPolygonMask()

Description

The routine gEnqPolygonMaskList() returns a list of polygon identifiers that are currently selected for polygon masking. The polygons are selected using the routine gSetPolygonMask().

The array list should be declared of length n, and no more than that number of identifiers are returned. count returns the actual number of polygon identifiers selected with gSetPolygonMask() even if this number is greater then n. If count = 0 then polygon masking is not being used.

If n is less than or equal to zero, no numbers are returned in list. If n is less than zero, a warning message is output.

See Also

gEnqPolygonMaskList Usage
gSetPolygonMask