Purpose
Use Set Text Alignment to insert a Set Text Alignment structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Text Alignment structure element, depending on the current edit mode.
At structure traversal time, the graPHIGS API uses the specified alignment in this structure element to render all subsequent geometric text primitives. This setting affects the manner in which the graPHIGS API positions the geometric text extent rectangle in relation to the text position.
The traversal default for geometric text horizontal and vertical alignment is NORMAL.
If the workstation does not support the specified text alignment or the specified value is outside the allowable range, then the text alignment defaults to NORMAL for both horizontal and vertical text alignment.
Language Bindings
pset_text_align (text_align) |
PSTXAL (txalh, txalv) |
Errors
Related Subroutines