Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqptxp(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQPTXP(3g)  —  Subroutines

Name

PQPTXP − Returns extended information about the predefined text representation of the index. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function

Old Syntax

DQPTP (WTYPE, TXI, ERRIND, FONT, PREC, CHXP, CHSP, CLRTYP, ICOLR,
COLR)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE             Integer        Read      Workstation type
TXI               Integer        Read      Predefined text index
ERRIND            Integer        Write     Error indicator
FONT              Integer        Write     Text font
PREC              Integer        Write     Text precision
CHXP              Real           Write     Character expansion factor
CHSP              Real           Write     Character spacing
CLRTYP            Integer        Write     Text color type
ICOLR             Integer        Write     Indexed color value
COLR(3)           Array of       Write     Direct color value
                  reals
---------------------------------------------------------------------------

New Syntax

PQPTXP (WTYPE, PTXI, CCSBSZ, ERRIND, FONT, PREC, CHXP, CHSP,
CTYPE, COLI, NCC, COLR)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE             Integer        Read      Workstation type
PTXI              Integer        Read      Predefined text index
CCSBSZ            Integer        Read      Buffer size of the color component
                                           specification
ERRIND            Integer        Write     Error indicator
FONT              Integer        Write     Text font
PREC              Integer        Write     Text precision
CHXP              Real           Write     Character expansion factor
CHSP              Real           Write     Character spacing
CTYPE             Integer        Write     Text color type
COLI              Integer        Write     Color index
NCC               Integer        Write     Number of color value components
COLR(CCSBSZ)      Array of       Write     Color values
                  reals
---------------------------------------------------------------------------

 

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
PREC                 PSTRP        String precision.  Digital PHIGS evaluates
                                  character height and width attributes.
                     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.
CTYPE                PINDIR       Indirect (indexed) color.
                     PRGB         Direct specification of red, green, and
                                  blue.
                     PCIE         Direct specification in the format of the
                                  Commission Internationale de l’Eclairage.
                     PHSV         Direct specification of hue, saturation,
                                  and value.
                     PHLS         Direct specification of hue, lightness,
                                  and saturation.
---------------------------------------------------------------------------

Description

PQPTXP returns values for the following:

•Text font

•Text precision

•Character expansion factor

•Character spacing

•Color type and value

See Also

PQPTXR
PQTXR
PQTXP
PSTXI
PSTXR
PSTXRP

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