GPR_$MULTITRIANGLE GPR Calls GPR_$MULTITRIANGLE
NAME
gpr_$multitriangle - draws and fills a list of triangles.
FORMAT
gpr_$multitriangle (t_list, n_triangles, status)
DESCRIPTION
This routine draws and fills the list of triangles (in the current bit-
map) with the color/intensity value specified with gpr_$set_fill_value.
When entering coordinates for each triangle, you must set a winding
number. The winding number must agree with filling criterion established
with gpr_$set_triangle_fill_criteria. For example, if the filling cri-
terion is gpr_$parity, the winding number of triangles to be filled must
be odd. The default filling criterion is gpr_$parity.
Individual triangles can be assigned different winding numbers making it
possible to fill specific triangles in the list using
gpr_$set_triangle_fill_criteria.
Input Parameters
t_list
Triangles to fill in gpr_$triangle_list_t format. This data type is
a variable size array where each element of the array contains 14
bytes.
n_triangles
Number of triangles to fill. This is a 2-byte integer.
Output Parameters
status
Completion status, in status_$t format.
SEE ALSO
gpr_$set_fill_value, gpr_$inq_fill_value.
NOTES
Different decomposition techniques offer different rasterizations of
polygons. For details, see the Programming with Domain Graphics Primi-
tives manual.