PEXSetViewIndex(3) — Subroutines
Name
PEXSetViewIndex - Set View Index
Synopsis
void PEXSetViewIndex(Display ∗display, XID resource_id, PEXOCRequestType req_type, unsigned int index)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
resource_idThe resource identifier of the renderer or structure.
req_typeThe request type for the output command (PEXOCRender, PEXOCStore, PEXOCRenderSingle or PEXOCStoreSingle).
indexThe view table index.
Returns
None
Description
This function creates an output primitive attribute which sets the view index attribute. If the specified view index is not defined, the default index zero is used. If view index zero is undefined, the default values are used: all clip flags are on; the clip limits are set to <0,0,0> , <1,1,1>; orientation and mapping are the identity matrices.
Errors
BadPEXOutputCommand
The view index value exceeds 65534.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXCreateLookupTable