void PEXOCCSetTextBundleIndex( PEXOCC context, unsigned int index )
void PEXSetTextBundleIndex( Display *display, XID resource_id, PEXOCRequestType req_type, unsigned int index )
None.
Invoke PEXOCCSetTextBundleIndex to create an attribute output command which sets the text bundle index attribute in the renderer's pipeline state according to the value specified by index.
You use the text bundle index to select an entry of the renderer's text bundle table whenever a bundlable text attribute's ASF is set to PEXBundled (see PEXOCCSetIndividualASF). PEXlib supports the bundling of the following text attributes: text font index, text precision, character expansion, character spacing, and text color.
If you specify an undefined text bundle index, then the index defaults to index one. If index one is not defined, then the implementation sets the bundled text font index to one, text precision to PEXStringPrecision; character expansion to 1.0, character spacing to 0.0 and text color to indexed color one. If you specify a text bundle index of zero, then the implementation issues a BadPEXOutputCommand error.
This function is a member of the annotation and text attribute set.
For an overview and for a list of all output attribute functions, see Output Attribute Functions.