PQCMMF(3g) — Subroutines
Name
PQCMMF − Returns information about the available color mapping methods.
Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function
Syntax
PQCMMF (WTYPE, CMM, MLDR, ERRIND, LDR, DATREC)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
CMM Integer Read Color mapping method
MLDR Integer Read Dimension of the data record array
ERRIND Integer Write Error indicator
LDR Integer Write Length of the data record array
DATREC(MLDR) Character ∗80 Write Data record
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
CMTYP PTRUE Digital PHIGS performs the identity
mapping.
PSUD Digital PHIGS converts the colors to a
single integer index.
PSUDN Digital PHIGS converts the colors to a set
of indexes.
---------------------------------------------------------------------------
Description
PQCMMF returns information about the color mapping methods available on Digital PHIGS.
Digital PHIGS Version 3.1 does not support this function.
Data Record Information
If CMTYP is PTRUE, the data record has the following format:
INTEGER IL = 1
IA(1) = Number of true colors available
RL = 0
RA = ()
SL = 0
LSTR = ()
STR = ()
If CMTYP is PSUD, the data record has the following format:
INTEGER IL = 1
IA(1) = Maximum number of pseudo color entries
RL = 0
RA = ()
SL = 0
LSTR = 0
STR = ()
If CMTYP is PSUDN, there is no data record.
See Also
PQCMF