GPR_$INQ_TRIANGLE_FILL_CRITERIA GPR Calls GPR_$INQ_TRIANGLE_FILL_CRITERIA
NAME
gpr_$inq_triangle_fill_criteria - returns the filling criteria used with
polygons decomposed into triangles.
FORMAT
gpr_$inq_triangle_fill_criteria (fill_crit, status)
DESCRIPTION
This routine returns the filling criteria used with polygons decomposed
into triangles. Use gpr_$pgon_decomp_technique to set a mode which con-
trols the algorithm used to decompose polygons. Use
gpr_$set_triangle_fill_criteria to set the filling criteria used with
polygons decomposed into triangles or for polygons rendered with the
render exact algorithm. For details on decomposition techniques, see the
Programming with Domain Graphics Primitives manual.
Output Parameters
fill_crit
Returns the filling criteria. This is a 2-byte integer.
Possible values for this parameter are:
gpr_$parity
provides a means for filling polygons decomposed into triangles
using an odd parity scheme. Regions filled in these polygons
will match regions filled in polygons decomposed into tra-
pezoids.
gpr_$nonzero
provides a means for filling all nonzero regions of a polygon.
gpr_$specific
provides a means for filling specific regions of a polygon.
This is done by specifying a winding number. The only restric-
tion is that regions with a winding number of zero cannot be
filled.
status
Completion status, in status_$t format.