Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pschxp(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSCHXP(3g)  —  Subroutines

Name

PSCHXP − Defines character width. 

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

Syntax

PSCHXP (CHXP)

Argument       Data Type      Access    Description
---------------------------------------------------------------------------
CHXP           Real           Read      Character expansion factor.  The
                                        default value is 1.0.
---------------------------------------------------------------------------

Description

PSCHXP controls the width of a character.  The value specifies the deviation of the nominal character width-to-height ratio, as defined in the font design. 

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 character expansion factor element. 

The set character expansion factor element sets the specified value for the current character expansion factor entry in the PHIGS traversal state list during traversal.  If the current text font ASF entry in the PHIGS traversal state list is INDIVIDUAL, Digital PHIGS binds the value to subsequently traversed text and text 3 primitives.  If the ASF setting is BUNDLED, the value has no effect. 

During structure traversal, Digital PHIGS considers only the magnitude of the character expansion factor.  If the result of taking the absolute value of the character expansion factor value is not supported, Digital PHIGS maps the result to the closest value available on the workstation. 

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
PQTXX
PSCHH
PSCHSP
PSIASF
PSTXI
PSTXR
PTX
PTX3

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