Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pstxpr(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSTXPR(3g)  —  Subroutines

Name

PSTXPR − Controls how closely displayed characters adhere to the defined text representation. 

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

Syntax

PSTXPR (PREC)

Argument       Data Type      Access     Description
---------------------------------------------------------------------------
PREC           Integer        Read       Text precision
---------------------------------------------------------------------------

Constants

Defined Argument      Constant      Description
---------------------------------------------------------------------------
PREC                  PSTRP         String precision.  Digital PHIGS
                                    evaluates character height and width
                                    attributes. This is the default value.
                      PCHARP        Character precision.  Digital PHIGS
                                    evaluates  each character for
                                    compliance with all other specified
                                    text attributes.
                      PSTRKP        Stroke precision.  Digital PHIGS looks
                                    for exact compliance with all specified
                                    text attributes.
---------------------------------------------------------------------------

Description

PSTXPR creates a text precision value to control how closely the displayed characters adhere to the text representation defined by the workstation-independent text attributes, and the current transformation and clipping 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 precision element. 

During structure traversal, the set text precision element sets the specified value for the current text precision entry in the PHIGS traversal state list. If the current text precision ASF entry in the PHIGS traversal state list is INDIVIDUAL, Digital PHIGS uses the text precision value when traversing subsequent text, text 3, annotation text, and annotation text 3 primitives.  If the ASF setting is BUNDLED, the value has no effect. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

See Also

PATR
PATR3
PQTXF
PQTXR
PQTXP
PSIASF
PSTXFN
PSTXI
PSTXR
PSTXRP
PTX
PTX3

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