GPTXPR (prec) |
Purpose
Use GPTXPR to insert a Set Text Precision structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Text Precision structure element depending on the current edit mode.
The text precision specifies which attributes apply to annotation and geometric text primitives and the manner in which the graPHIGS API uses them. At structure traversal time, the graPHIGS API uses this precision when the text precision aspect source flag is set to 2=INDIVIDUAL
The traversal default for text precision is 1=STRING_PREC
If the workstation does not support the specified text precision, then the graPHIGS API uses the highest available precision in the font instead.
Parameters
The following figure describes the attributes and precision for geometric text:
Geometric Text Attributes CHARACTER CHARACTER CHARACTER UP AND CHARACTER TEXT EXPANSION CHARACTER CHARACTER UP TEXT TEXT BASE POSITIONING FONT FACTOR SPACING COLOR* HEIGHT VECTOR PATH ALIGNMENT VECTORS MODE -------------------------------------------------------------------------------------------- P | | r STRING |Y ** N N Y Y N N N N Y ***| e | | c | | i CHAR |Y ** Y Y Y Y Y Y Y Y Y ***| s | | i | | o STROKE |Y ** Y Y Y Y Y Y Y Y Y ***| n -------------------------------------------------------------------------------------------- * Color refers to both Set Text Color Direct and Set Text Color Index.
Note:
The following keywords are used above to designate which attributes will be processed for a particular precision:
Y
Annotation Text Attributes ANNOTATION CHARACTER HEIGHT ANNOTATION CHARACTER TEXT EXPANSION CHARACTER SCALE UP ANNOTATION ANNOTATION ANNOTATION POSITIONING FONT FACTOR SPACING COLOR* FACTOR VECTOR PATH ALIGNMENT HEIGHT MODE -------------------------------------------------------------------------------------------------------------- P | | r STRING | Y 4 N N Y Y 1 N N N Y 1 Y 5 | e | | c | | i CHAR | Y 4 Y 1 Y 2 Y Y 1 Y 2 Y 2 Y 2 Y 1 Y 5 | s | | i | | o STROKE | Y 4 Y 3 Y 3 Y Y 3 Y 3 Y 3 Y 3 Y 3 Y 5 | n -------------------------------------------------------------------------------------------------------------- * Color refers to both Set Text Color Direct and Set Text Color Index.
Note:
The following keywords are used above to designate which attributes will be processed for a particular precision:
Y
Error Codes
Related Subroutines
RCP code
201328648 (X'0C000808')