GPR_$INQ_PGON_DECOMP_TECHNIQUE GPR Calls GPR_$INQ_PGON_DECOMP_TECHNIQUE
NAME
gpr_$inq_pgon_decomp_technique - returns the mode used to decompose and
rasterize polygons.
FORMAT
gpr_$inq_pgon_decomp_technique (decomp_technique, status)
DESCRIPTION
This routine returns the mode which controls the algorithm used to decom-
pose and rasterize polygons. gpr_$inq_pgon_decomp_technique returns a
mode setting, not an attribute.
Output Parameters
decomp_technique
Returns a mode which controls the algorithm used to decompose and
render polygons, in gpr_$decomp_technique_t format. This is a 2-
byte integer. Only one of the following predefined values is
returned:
gpr_$fast_traps
This is the default value on DN3XX/4XXs, DN550/560s, and DN6XXs
which indicates that the faster but less precise algorithm is
to be used. This is the only algorithm that existed prior to
SR9.
gpr_$precise_traps
This value indicates that a slower but more precise version of
the decomposition algorithm is to be used.
gpr_$non_overlapping_tris
This is the default value on all other nodes. It indicates
that a triangle decomposition algorithm is to be used.
gpr_$render_exact
This value indicates that the most precise rendering algorithm
is to be used. It provides the best performance for rectilinear
and axis aligned polygons, and it renders self-intersecting
polygons more accurately than any of the other techniques in
the following situation: when the intersection of two edges of
the polygon is located at a noninteger.
status
Completion status, in status_$t format.
SEE ALSO
gpr_$pgon_decomp_technique