void PEXOCCEncodedAnnoText( PEXOCC context, PEXCoord *origin, PEXCoord *offset, unsigned int count, PEXEncodedTextData *encoded_text )
void PEXEncodedAnnoText( Display *display, XID resource_id, PEXOCRequestType req_type, PEXCoord *origin, PEXCoord *offset, unsigned int count, PEXEncodedTextData *encoded_text )
None.
Invoke PEXOCCEncodedAnnoText to create an annotation text primitive output command (PEXOCAnnotationText).
This primitive is similar to the PEXAnnotationText primitive, except that you can specify multiple encoded text strings. Each text string in the encoded text array has a character set, a character set width, an encoding state, and a list of characters.
The character set is an index into the current font group. Font groups contain individual fonts which are numbered starting at one; a value of three selects the third font in the font group currently being used. If a character set is not available in the current font group, then the implementation uses the default font group to render the entire string. If a character set value is not available in the default font group, then the implementation renders that portion of the string in an implementation-dependent way.
The character set width indicates the width or size of characters in the strings. PEXlib defines the following character set widths: PEXCSByte, PEXCSShort and PEXCSLong. The PEX implementation does not interpret the encoding state, only the application uses it.
All other aspects of this primitive are the same as PEXAnnotationText.
For primitives similar to this one, see:
For PEXlib 5.1 compatibility primitives similar to this one, see:
For attributes that affect this primitive, see Annotation Text Attributes.
For an overview, see Output Command Functions.