PEXPolyline2D(3) — Subroutines
Name
PEXPolyline2D - 2D Polyline Primitive
Synopsis
void PEXPolyline2D(Display ∗display, XID resource_id, PEXOCRequestType req_type, unsigned int count, PEXCoord2D ∗points)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
resource_idThe resource identifier of the renderer or structure.
req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).
countThe number of points.
pointsAn array of points defining the polyline.
Returns
None
Description
This function creates a 2D polyline output primitive.
This function is like PEXPolyline, except that the points consist of only x- and y-components. The z-component is assumed to be zero. This primitive is two-dimensional only in that the z-components are implied. Geometry transformations are still carried out in three dimensions.
Data Structures
See the PEXStructuresman page.
Errors
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXSetLineType, PEXSetLineWidth,
PEXSetLineColorIndex, PEXSetLineColor, PEXSetLineBundleIndex