Previous Next Up Title Contents Index Functions Index Top Library

SET TEXT FONT

PSET_TEXT_FONT


CALL SEQUENCE

void pset_text_font(
)

PHIGS STATE

(PHOP, *, STOP, *).

EFFECT

A SET TEXT FONT 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 FONT element. The value specified by font is associated with the element.

When an element of this type is interpreted, the current text font entry in the PHIGS traversal state list is set to font. This value is used to display the text primitives which follow when the current text font ASF entry in the PHIGS traversal state list is INDIVIDUAL. When the value is BUNDLED, font has no effect.

Possible values for text font are:

PFONT_HARD_n hard font, where valid values for n are from 1 to 5

PFONT_xxxxx soft font

For the list of text fonts available on a specific device see the driver description manual.

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 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