PEXGDP(3) — Subroutines
Name
PEXGDP - 3D Generalized Drawing Primitive
Synopsis
void PEXGDP(Display ∗display, XID resource_id, PEXOCRequestType req_type, long gdp_id, unsigned int count, PEXCoord ∗points, unsigned long length, char ∗data)
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).
gdp_idThe identifier of the GDP.
countThe number of points.
pointsThe points used by the GDP.
lengthThe length, in bytes, of the data.
dataAdditional data used by the GDP.
Returns
None
Description
This function creates a generalized drawing primitive.
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.
Data Structures
See the PEXStructuresman page.
Errors
BadPEXOutputCommand
The output command contains an invalid value.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.