PSATAL(3g) — Subroutines
Name
PSATAL − Sets the horizontal and vertical alignment attributes for annotation text.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
PSATAL (ATALH, ATALV)
Argument Data Type Access Description
---------------------------------------------------------------------------
ATALH Integer Read Horizontal text alignment
ATALV Integer Read Vertical text alignment
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
ATALH PAHNOR Normal horizontal alignment. This is
the default value.
PALEFT Left horizontal alignment.
PACENT Center horizontal alignment.
PARITE Right horizontal alignment.
ATALV PAVNOR Normal vertical alignment. This is the
default value.
PATOP Top vertical alignment.
PACAP Cap vertical alignment.
PAHALF Half vertical alignment.
PABASE Base vertical alignment.
PABOTT Bottom vertical alignment.
---------------------------------------------------------------------------
Description
PSATAL sets the horizontal and vertical text alignment attributes. This function creates a set annotation text alignment element that uses the annotation text alignment horizontal and annotation text alignment vertical values to control the positioning of the text extent parallelogram in relation to the text position. The text string remains in the same workstation plane regardless of rotation.
Depending on the current edit mode, the function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer. The pointer then points to the new set annotation text alignment element.
During structure traversal, Digital PHIGS sets the current annotation text alignment entry in the PHIGS traversal state list to the values specified by the horizontal and vertical parameters. These values are associated with subsequent primitives.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
DAATR
DAATR3
PATR
PATR3
PSTXAL