PEXRenderNetwork(3) — Subroutines
Name
PEXRenderNetwork - Render Network
Synopsis
void PEXRenderNetwork(Display ∗display, Drawable drawable, PEXRenderer renderer, PEXStructure structure)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
drawableThe resource identifier of a drawable.
rendererThe resource identifier of a renderer resource.
structureThe resource identifier of a structure resource.
Returns
None
Description
This function processes all output commands stored in structure using the specified renderer. Output primitives in structure are rendered to the specified drawable. Structures referenced through execute structure output commands are also processed. This request effectively performs an implicit PEXBeginRendering before the traversal of the specified structure network and an implicit PEXEndRendering, with a flush value of True, after the traversal.
Data Structures
typedef XID PEXRenderer;
typedef XID PEXStructure;
Errors
BadAllocThe server failed to allocate resources necessary to complete request.
BadDrawableThe specified drawable resource identifier is invalid.
BadMatchThe specified drawable is unsupported, or the specified renderer resource was not created with a compatible drawable.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXRendererState
The specified renderer was in an invalid state.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXExecuteStructure, PEXBeginRendering, PEXEndRendering,
PEXCreateStructure, PEXCreateRenderer