PEXFlushRenderer - Flush Renderer (5.2)


Synopsis

 
   void PEXFlushRenderer(
        Display *display,
        PEXRenderer renderer,
        int flush
   )
 

Arguments

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

renderer
The resource identifier of the renderer.

flush True if all pending output is rendered onto the drawable associated with the renderer. False to discard all pending output.

Returns

None.

Description

Invoke PEXFlushRenderer to force all pending output to be either drawn or discarded.

If you set flush to True, then the renderer renders all pending output onto the drawable associated with the renderer. If you set flush to False, then the renderer discards all pending output.

If the renderer state is PEXIdle, then this function 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.