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

GPTXPT - Set Text Path

GPTXPT (path)

Purpose

Use GPTXPT to insert a Set Text Path structure element into the open structure following the element pointer or to 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 1=RIGHT

If the workstation does not support the specified text path value, then the text path defaults to 1=RIGHT

Parameters

path -- specified by user, fullword integer

Specifies text path (1=RIGHT, 2=LEFT, 3=UP, 4=DOWN )

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
306
TEXT PATH VALUE IS INVALID

Related Subroutines

GPTXPR
Set Text Precision

RCP code

201328654 (X'0C00080E')


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