Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pstxp(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSTXP(3g)  —  Subroutines

Name

PSTXP − Defines the writing direction of text strings. 

Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element

Syntax

PSTXP (TXP)

Argument       Data Type      Access     Description
---------------------------------------------------------------------------
TXP            Integer        Read       Text path
---------------------------------------------------------------------------

Constants

Defined Argument      Constant      Description
---------------------------------------------------------------------------
TXP                   PRIGHT        Path right.  This is the default value.
                      PLEFT         Path left.
                      PUP           Path up.
                      PDOWN         Path down.
---------------------------------------------------------------------------

Description

PSTXP 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

PQTXX
PQTXF
PSCHUP
PSTXAL
PTX
PTX3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026