Previous Next Up Title Contents Index Functions Index Top Library

SET ANNOTATION STYLE

PSET_ANNO_STYLE


CALL SEQUENCE

void pset_anno_style(
)

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

A SET ANNOTATION STYLE 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 STYLE element. The value specified by style is associated with the element.

When an element of this type is interpreted, the current annotation style entry in the PHIGS traversal state list is set to style. This value is used to display the annotation text primitives which follow. The annotation style is the method used to connect the annotation text to the annotation point when annotation offset is not zero.

The valid values for style are:

PANNO_STYLE_UNCONNECTED 1 no connection

PANNO_STYLE_LEAD_LINE 2 draw a line using current line attributes

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, set line index, set linetype, set linewidth scale factor, set polyline colour index, 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