pset_text_path(3g) — Subroutines
Name
pset_text_path − Defines the writing direction of text strings.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
void pset_text_path (
Ptext_path path /∗ Text path ∗/
)
Data Structures
typedef enum {
PPATH_RIGHT, /∗ Path right. This is the default value. ∗/
PPATH_LEFT, /∗ Path left. ∗/
PPATH_UP, /∗ Path up. ∗/
PPATH_DOWN /∗ Path down. ∗/
} Ptext_path;
Description
pset_text_path establishes the writing direction of text strings using the text path values. Depending on the current edit mode, this 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 text path element.
During traversal, the set text path element sets the specified value for the current text path entry in the PHIGS traversal state list. Digital PHIGS uses the value during traversal of subsequent text and text 3 primitives. The value of the text path specifies the writing direction of the text string.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
pinq_text_extent
pinq_text_facs
pset_char_up_vec
pset_text_align
ptext
ptext3