PEXOCCGSE - Generalized Structure Element (5.0)


Synopsis

 
   void PEXOCCGSE(
        PEXOCC context,
        long id,
        int length,
        char *data
   )
 

 
   void PEXGSE(
        Display *display,
        XID resource_id,
        PEXOCRequestType req_type,
        long id,
        int length,
        char *data
   )
 

Arguments

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).

id
The identifier of the GSE.

length
The length, in bytes, of the GSE data.

data
A pointer to the GSE data.

Returns

None.

Description

Invoke PEXOCCGSE to create a generalized structure element.

Each individual PEX implementation should provide you with a complete interface and definition for each GSE identifier. PEXlib does not define any standard PEX GSEs.

If the implementation does not support the specified GSE identifier (id), then the implementation ignores this output command.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXStructure
The specified structure resource identifier is invalid.

See Also

See Structure Control and Miscellaneous Functions for an overview.