PQCF(3g) — Subroutines
Name
PQCF − Returns color information for the workstation.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Old Syntax
PQCF (WTYPE, ERRIND, NCOLI, COLA, NPCI)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
ERRIND Integer Write Error indicator
NCOLI Integer Write Number of colors
COLA Integer Write Color availability
NPCI Integer Write Number of predefined color indexes
---------------------------------------------------------------------------
New Syntax
PQCF (WTYPE, ERRIND, NCOLI, COLA, NPCI, CC)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
ERRIND Integer Write Error indicator
NCOLI Integer Write Number of colors
COLA Integer Write Color availability
NPCI Integer Write Number of predefined color indexes
CC(9) Real Write Primary colors---chromaticity
coefficients and luminance values
for the display device, in the
order Ru, Rv, Ry, Gu, Gv, Gy, Bu,
Bv, By
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
COLA PMONOC Black and white device
PCOLOR Color device
---------------------------------------------------------------------------
Description
PQCF queries the workstation description table and returns an error indicator, the number of colors, whether this is a color or a black and white device, and the number of predefined color indexes.
See Also
PQPCR
PQWKC PSCR