Previous Next Up Title Contents Index Functions Index Top Library

SET ANNOTATION TEXT ALIGNMENT

PSET_ANNO_ALIGN


CALL SEQUENCE

void pset_anno_align(
)

TYPES

typedef struct {
	Phor_text_align	hor;	/* horizontal component 	*/
	Pvert_text_align	vert;	/* vertical component 	*/
} Ptext_align;

typedef enum {
	PHOR_NORM,
	PHOR_LEFT,
	PHOR_CTR,
	PHOR_RIGHT
} Phor_text_align;

typedef enum {
	PVERT_NORM,
	PVERT_TOP,
	PVERT_CAP,
	PVERT_HALF,
	PVERT_BASE,
	PVERT_BOTTOM
} Pvert_text_align;

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

A SET ANNOTATION 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 ANNOTATION TEXT ALIGNMENT element. The values specified by align are associated with the element.

When an element of this type is interpreted, the current annotation text alignment entry in the PHIGS traversal state list is set to align. These values are used to display the annotation 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

annotation text relative, 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