.\" @(#)PEXGDP2D.3 1.5 95/03/24 SMI; .so man3/pex.macs .TH PEXGDP2D 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXGDP2D - 2D Generalized Drawing Primitive .SH SYNTAX .HP void PEXGDP2D\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, long \fIgdp_id\fP\^, unsigned int \fIcount\fP\^, PEXCoord2D *\fIpoints\fP\^, unsigned long \fIlength\fP\^, char *\fIdata\fP\^) .SH PARAMETERS .TP 1i \fIdisplay\fP 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 \fIgdp_id\fP 1i The identifier of the \s-1GDP\s0. .IP \fIcount\fP 1i The number of points. .IP \fIpoints\fP 1i The points used by the \s-1GDP\s0. .IP \fIlength\fP 1i The length, in bytes, of the data. .IP \fIdata\fP 1i Additional data used by the \s-1GDP\s0. .SH RETURNS None .SH DESCRIPTION .\" indexing .IX PEXGDP2D .IX "GDP" "PEXGDP2D" .LP This function creates a 2D generalized drawing primitive. .LP The complete interface and behavior for each GDP identifier should be available with the individual PEX server implementations. There are no standard PEX GDPs. If the specified GDP identifier is not supported, then the output command is ignored. The table below lists the supported GDP identifier. .\"@ .\" start equation_nroff_version .if t .ig xx .sp .nf GDP Identifier Description PEXSunGDP2DIdCircle Circle PEXSunGDP2DIdCircArc Circular arc PEXSunGDP2DIdCircArcClose Circular arc close PEXSunGDP2DIdAnnotCircle Annotation circle PEXSunGDP2DIdAnnotCircArc Annotation circle arc PEXSunGDP2DIdAnnotCircArcClose Annotation circle arc close PEXSunGDP2DIdEllipse Ellipse PEXSunGDP2DIdEllpArc Elliptical arc PEXSunGDP2DIdEllpArcClose Elliptical arc close PEXSunGDP2DIdAnnotEllipse Annotation ellipse PEXSunGDP2DIdAnnotEllpArc Annotation elliptical arc PEXSunGDP2DIdAnnotEllpArcClose Annotation elliptical arc close PEXSunGDP2DIdRectGrid Rectangular grid PEXSunGDP2DIdRadialGrid Radial grid .sp .fi .xx .\"@ .\" start equation_troff_version .if n .ig yy .LP .TS H center, box; lfB lfB l l. GDP Identifier Description _ .TH GDP Identifier Description _ PEXSunGDP2DIdCircle Circle PEXSunGDP2DIdCircArc Circular arc PEXSunGDP2DIdCircArcClose Circular arc close PEXSunGDP2DIdAnnotCircle Annotation circle PEXSunGDP2DIdAnnotCircArc Annotation circle arc PEXSunGDP2DIdAnnotCircArcClose Annotation circle arc close PEXSunGDP2DIdEllipse Ellipse PEXSunGDP2DIdEllpArc Elliptical arc PEXSunGDP2DIdEllpArcClose Elliptical arc close PEXSunGDP2DIdAnnotEllipse Annotation ellipse PEXSunGDP2DIdAnnotEllpArc Annotation elliptical arc PEXSunGDP2DIdAnnotEllpArcClose Annotation elliptical arc close PEXSunGDP2DIdRectGrid Rectangular grid PEXSunGDP2DIdRadialGrid Radial grid .TE .yy .SH DATA STRUCTURES .LP See .B PEXlib.h. .sp .SH ERRORS .TP .SB BadPEXOutputCommand The output command contains an invalid value. .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid.