.\" @(#)PEXPolyline2D.3 1.5 95/03/24 SMI; .so man3/pex.macs .TH PEXPolyline2D 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXPolyline2D - 2D Polyline Primitive .SH SYNTAX .HP void PEXPolyline2D\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, unsigned int \fIcount\fP\^, PEXCoord2D *\fIpoints\fP\^) .SH PARAMETERS .IP \fIdisplay\fP 1i A pointer to a display structure returned by a successful .B XOpenDisplay call. .IP \fIresource_id\fP 1i The resource identifier of the renderer or structure. .IP \fIreq_type\fP 1i The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .IP \fIcount\fP 1i The number of points. .IP \fIpoints\fP 1i An array of points defining the polyline. .SH RETURNS .LP None .SH DESCRIPTION .\" indexing .IX PEXPolyline2D .IX "Polyline" "PEXPolyline2D" .LP This function creates a 2D polyline output primitive. .LP This function is like .BR PEXPolyline (3) , 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. .SH DATA STRUCTURES .LP See .B PEXlib.h. .sp .5 .SH ERRORS .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid. .SH SEE ALSO .LP .nf .BR PEXSetLineType (3) .BR PEXSetLineWidth (3) .BR PEXSetLineColorIndex (3) .BR PEXSetLineColor (3) .BR PEXSetLineBundleIndex (3) .fi