PEXEndStructure - Restore Rendering Pipeline State (5.0)


Synopsis

 
   void PEXEndStructure(
        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 PEXEndStructure to restore the previously saved rendering pipeline state.

If the renderer state of the renderer specified by renderer is PEXRendering, PEXPicking, or PEXMultipassRendering, then this function replaces the values in the renderer's pipeline state with those of the last-saved copy of the pipeline state (saved during the most recent PEXBeginStructure function). The last entry of the renderer's current path is removed. The renderer increments the offset of the new last entry of the current path as it processes subsequent output commands.

If the renderer state is PEXIdle, then this function has no effect.

Errors

BadPEXRenderer
The specified renderer resource identifier is invalid.

BadPEXRendererState
No matching PEXBeginStructure function was invoked by the client prior to invoking this function.

See Also

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