PEXSetTextBundleIndex(3) — Subroutines
Name
PEXSetTextBundleIndex - Set Text Bundle Index
Synopsis
void PEXSetTextBundleIndex(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 text bundle table index.
Returns
None
Description
This function creates an output primitive attribute which sets the text bundle index attribute. If an undefined index is specified, the default bundle index one is used. If index one is undefined, the defaults are used: text font index is one; text precision is PEXStringPrecision; character expansion is 1.0; character spacing is 0.0 and text color is indexed color one.
A text bundle table index of 0 will produce a BadPEXOutputCommand error.
Errors
BadPEXOutputCommand
The output command contains an invalid value.
BadPEXRenderer
The specified renderer resource identifier is invalid.
BadPEXStructure
The specified structure resource identifier is invalid.
See Also
PEXSetIndividualASF, PEXCreateLookupTable