Purpose
Use Polyline to create a two-dimensional polyline element and insert it into the open structure following the element pointer or replace the element pointed at by the element pointer with a Polyline structure element, depending on the current edit mode.
This structure element defines a list of two-dimensional points (x, y) (the z coordinate is assumed to be zero) that the graPHIGS API is to connect by straight lines starting with the first point and ending with the last point.
If the application specifies one or less points, then no output is generated. If two contiguous points are the same point, then the graPHIGS API generates a point of one pixel in size.
The graPHIGS API applies polyline attributes to this primitive.
Language Bindings
ppolyline (point_list) |
PPL (n, pxa, pya) |
Errors
Related Subroutines