GINO Graphics Suite - GINO v9.0  

gEnqPolygonList

Syntax

[C/C++:]
void gEnqPolygonList(int list[], int n, int *count);
[F90:]
subroutine gEnqPolygonList(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 gSelectPolygons()

Description

The routine gEnqPolygonList() returns a list of polygon identifiers that are currently selected for polygon filling with the gFillSelectedPolygons() routine. The polygons are selected using the routine gSelectPolygons().

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 gSelectPolygons() even if this number is greater then n. If count = 0 then all defined polygons are currently selected for filling.

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

gEnqPolygonList Usage
gSelectPolygons