Previous Next Up Title Contents Index Functions Index Top Library

SET TEXT ALIGNMENT

PSTXAL


CALL SEQUENCE

CALL PSTXAL (TXALH, TXALV)

INPUT PARAMETERS

INTEGER TXALH
Defines the horizontal alignment of the text.
INTEGER TXALV
Defines the vertical alignment of the text.

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

A SET TEXT ALIGNMENT element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the SET TEXT ALIGNMENT element. The values specified by TXALH,TXALV are associated with the element.

When an element of this type is interpreted, the current text alignment entry in the PHIGS traversal state list is set to TXALH,TXALV. These values are used to display the text primitives which follow.

EXTENSION TO THE PHIGS STANDARD

If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.

In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)

SEE ALSO

text, annotation text, open structure, open pipe (ext), inquire current element content, inquire current element type and size.


Previous Next Up Title Contents Index Functions Index Top Library