PQTXP(3g) — Subroutines
Name
PQTXP − Returns extended text representation information.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS PLUS function
Old Syntax
DQTRP (WKID, TXI, TYPE, ERRIND, FONT, PREC, CHXP, CHSP, CLRTYP, ICOLR,
COLR)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
TXI Integer Read Text index
TYPE Integer Read Type of the returned values
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
PQTXP (WKID, TXI, CCSBSZ, TYPE, ERRIND, FONT, PREC, CHXP, CHSP,
CTYPE, COLI, NCC, COLR)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
TXI Integer Read Text index
CCSBSZ Integer Read Buffer size of the color
component specification
TYPE Integer Read Type of values to return
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
---------------------------------------------------------------------------
TYPE PSET Use the exact state list values.
PREALI Use the values approximated by the
graphics handler.
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
PQTXP returns information on the extended text representation, including the text font and precision, character expansion factor, character spacing, and text color.
See Also
PQETXI
PQPTXR
PQPTXP
PQTXR
PSTXI
PSTXR
PSTXRP