For an overview, see Primitives and Attributes.
Two types of text primitives are supported: regular text and annotation text. The server renders regular text primitives in an arbitrary 3D plane, while annotation text appears parallel to the view surface. See Annotation Text Attributes for annotation text primitives and attributes.
A text string is a list of characters rendered at a particular location in three-dimensional space. The server defines text positions in modeling coordinates and transforms them into screen coordinates within the rendering pipeline. When your application enables depth-cueing, the text color is affected by the depth-cueing computation. However, a text string has no surface from which to reflect light, therefore, the light-source illumination stage of the rendering pipeline has no effect on text.
The attributes that affect regular text primitives are:
--------------------------------------------------------------------------------------------------
Character Height OC PEXOCCSetCharHeight
Character Up Vector OC (ASF) PEXOCCSetCharUpVector
Text Alignment OC (ASF) PEXOCCSetTextAlignment
Text Path OC PEXOCCSetTextPath
Text Bundle Index OC PEXOCCSetTextBundleIndex
Character Expansion OC (ASF) PEXOCCSetCharExpansion
Character Spacing OC (ASF) PEXOCCSetCharSpacing
Text Color OC (ASF) PEXOCCSetTextColor
Text Color Index OC (ASF) PEXOCCSetTextColorIndex
Text Font Index OC (ASF) PEXOCCSetTextFontIndex
Text Precision OC (ASF) PEXOCCSetTextPrecision
Text Bundle Table RA Text Bundle Table (LUT) and
Text Bundle Table (Renderer)
Text Font Table RA Text Font Table (LUT) and
Text Font Table (Renderer)
--------------------------------------------------------------------------------------------------
The PEXlib text primitives affected by the above attributes include:
---------------------------------------------------------------------------- Encoded Text 3D PEXOCCEncodedText Encoded Text 2D PEXOCCEncodedText2D Text 3D PEXOCCText Text 2D PEXOCCText2D ----------------------------------------------------------------------------
See the sections referenced above for information about each of the text primitives and the attributes that affect them.