void PEXOCCGDP(
PEXOCC context,
long gdp_id,
unsigned int count,
PEXPointer occ_points,
unsigned long length,
char *data
)
void PEXGDP(
Display *display,
XID resource_id,
PEXOCRequestType req_type,
long gdp_id,
unsigned int count,
PEXCoord *points,
unsigned long length,
char *data
)
- context
- An OC context returned by a successful
PEXCreateOCC call.
- display (OCC)
- A pointer to a display structure returned by
a successful XOpenDisplay call.
- resource_id (OCC)
- The resource identifier of the renderer or structure.
- req_type (OCC)
- The request type for the output command
(PEXOCRender, PEXOCStore,
PEXOCRenderSingle or PEXOCStoreSingle).
- gdp_id
- The identifier of the GDP.
- count
- The number of vertices.
- occ_points
- A pointer to the vertex data used by the GDP.
See Facet / Vertex Data Formats.
- points
- The vertices used by the GDP.
- length
- The length, in bytes, of the data.
- data
- Additional data used by the GDP.
None.
Invoke PEXOCCGDP to create a generalized
drawing primitive output command
(PEXOCGDP).
Individual PEX implementations
should provide you with a complete interface and description
for each GDP identifier.
PEXlib does not define any standard PEX GDPs.
If your implementation does not support the specified GDP
identifier, then it ignores the output command generated by
this function.
- BadPEXOutputCommand
- The output command contains an invalid value.
- BadPEXRenderer
- The specified renderer resource identifier is invalid.
- BadPEXStructure
- The specified structure resource identifier is invalid.
For an overview, see Output
Command Functions.