PEXChangeRendererExtAttributes - Change Renderer Extension Attributes (5.2)


Synopsis

 
   void PEXChangeRendererExtAttributes(
        Display *display,
        PEXRenderer renderer,
        unsigned long *value_mask,
        PEXRendererAttributes5_2 *values
   )
 

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.

renderer
The resource identifier of the renderer.

value_mask
A two word bitmask indicating the renderer attributes to be changed.

values
A pointer to new values for the renderer attributes.

Returns

None.

Description

Invoke PEXChangeRendererExtAttributes to modify attributes of the specified renderer resource.

The value mask is a bitmask which can be manipulated with the PEXSetRendererExtAttributeMask function See Renderer Attributes for the bitmask names.

Attempts to set the renderer's current path and renderer state attributes are ignored.

Errors

BadMatch
A specified lookup table resource was not created with a drawable compatible with the drawable used to create the renderer resource.

BadPEXLookupTable
A specified lookup table resource identifier is invalid.

BadPEXNameSet
A specified name set resource identifier is invalid.

BadPEXPipelineContext
The specified pipeline context resource identifier is invalid.

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadValue
A specified value in values is out of range, or an invalid bit is set in the value mask.

See Also

For a list of all Renderer functions and related topics, see Rendering.