PEXGetRendererExtAttributes - Get Renderer Extended Attribute Values (5.2)


Synopsis

 
  PEXRendererAttributes5_2 *PEXGetRendererExtAttributes(
      Display *display,
      PEXRenderer renderer,
      unsigned long *value_mask
   )
 

Arguments

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

renderer
The resource identifier of the renderer to be queried.

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

Returns

A pointer to the renderer attribute values; a null pointer if unsuccessful.

Description

Invoke PEXGetRendererExtAttributes to get attribute values from 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.

PEXlib allocates the memory for the returned renderer attribute values. Invoke the PEXFreeRendererExtAttributes function to deallocate the memory.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadValue
An invalid bit is set in the value mask.

See Also

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