[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

SET TEXT PATH (PHOP,*,STOP,*)

Purpose

Use Set Text Path to insert a Set Text Path structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Text Path structure element, depending on the current edit mode.

This structure element specifies the writing direction of the text string relative to the Character Up Vector. At structure traversal time, the graPHIGS API uses this path value to render all subsequent geometric text primitives.

The traversal default for text path is RIGHT.

If the workstation does not support the specified text path or the specified value is outside the allowable range, then the text path defaults to RIGHT.

Language Bindings

C

pset_text_path (text_path)

Input Parameters

Ptext_path text_path
Text path (0=PPATH_RIGHT, 1=PPATH_LEFT, 2=PPATH_UP, 3=PPATH_DOWN).

FORTRAN

PSTXP (txp)

Input Parameters

integer txp
Text path (0=PRIGHT, 1=PLEFT, 2=PUP, 3=PDOWN).

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • Set Text Precision


  • [ Previous | Next | Contents | Glossary | Home | Search ]