PEXOCCConditionFlags - Set Condition Flags (5.2)


Synopsis

 
   void PEXOCCConditionFlags(
        PEXOCC context,
        unsigned long enable,
        unsigned long disable
   )
 

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

enable

The bits to turn on in the renderer's condition flags.

disable
The bits to turn off in the renderer's condition flags.

Returns

None.

Description

Invoke PEXOCCConditionFlags to create an output command that modifies bits in the renderer's condition flag set.

The bits set in the enable argument force the corresponding bits in the renderer's condition flags to be set to one. Then, the bits set in the disable argument force the corresponding bits in the renderer's condition flags to be set to zero. The implementation applies the enable argument first and the disable argument last.

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.