PEXInitRenderer - Initialize Renderer (5.2)


Synopsis

 
   void PEXInitRenderer(
        Display *display,
        PEXRenderer renderer
   )
 

Arguments

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

renderer
The resource identifier of the renderer.

Returns

None.

Description

Invoke PEXInitRenderer to set the pipeline state of the renderer specified by renderer to the values contained in the pipeline context associated with the renderer.

Any saved pipeline state values (e.g., from a PEXBeginStructure function) are lost. If no pipeline context is associated with the renderer, then the renderer uses the default pipeline context values. The renderer also sets the current path attribute to a single element with a structure identifier of zero and an offset of zero.

If the renderer's renderer state is PEXIdle, then this request has no effect.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

See Also

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