PQDCMF(3g) — Subroutines
Name
PQDCMF − Returns number and list of available direct color models.
Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function
Old Syntax
DQDCMF (WTYPE, N, ERRIND, NCM, CM)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
N Integer Read List element requested
ERRIND Integer Write Error indicator
NCM Integer Write Number of direct color models
CM Integer Write Nth element of color model list
---------------------------------------------------------------------------
New Syntax
PQDCMF (WTYPE, N, ERRIND, NDCM, DCM)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
N Integer Read List element requested
ERRIND Integer Write Error indicator
NDCM Integer Write Number of direct color models
DCM Integer Write Nth element of color model list
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
DCM 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
PQDCMF returns the number of available direct color models, and the list of direct color models.
See Also
PQCMDF