void PEXRenderElements(
Display *display,
PEXRenderer renderer,
PEXStructure structure,
int whence1,
long offset1,
int whence2,
long offset2
)
None.
Invoke PEXRenderElements to process all output commands in the specified element range of the specified structure.
The output primitives in the specified range of structure are rendered using the specified renderer. If the renderer state is PEXIdle, then the implementation ignores this request. Structures referenced through output commands are also processed.
The first limit of the range is defined by whence1 and offset1 and the second limit of the range is defined by whence2 and offset2. The whence values describe how to interpret the corresponding offset. PEXlib defines the following whence values:
Offsets can be negative values. If after computing an element position, the offset is less than zero, then the position is set to zero. If after computing an element position, the offset is greater than the number of elements in the structure, then the position is set to the last structure element in the structure.
For locked structures, the whence/offset pairs must specify the element position 0 or the offset of a structure referencing output command.
For a list of all Renderer functions and related topics, see Rendering.