Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE COLOUR MAPPING REPRESENTATION

PQCMR


CALL SEQUENCE

CALL PQCMR (WKID, CMI, TYPE, MLDR, ERRIND, CMM, LDR, DATREC)

INPUT PARAMETERS

INTEGER WKID
Workstation identifier
INTEGER CMI
Colour mapping index
INTEGER TYPE
Type of return value(PSET,PREALI)
INTEGER MLDR
Dimension of data record array

OUTPUT PARAMETERS

INTEGER ERRIND
Error indicator
INTEGER CMM
Colour mapping method
INTEGER LDR
Length of data record array
CHARACTER*80DATREC(MLDR)
Data record

PHIGS STATE

(PHOP, WSOP,*,*)

EFFECT

Returns the components contained in the colour mapping representation number index of the colour mapping table in workstation WKID's workstation state list. .

If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters. If the specified colour mapping index is not present in the colour mapping table, and the specified type of returned value is REALIZED, the representation for colour mapping index 1 is returned.

If the inquired information is not available, the values returned in the output parameters are implementation dependent and the error indicator is set to one of the following error numbers to indicate the reason for non-availability:

See SET COLOUR MAPPING REPRESENTATION for a description of the colour mapping data record.

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
59
Ignoring function, the specified workstation does not have output capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
101
Ignoring function, the specified representation has not been defined
121
Ignoring function, the colour mapping index is less than one

SEE ALSO

set colour mapping representation, inquire colour mapping facilities, inquire colour mapping method facilities.


Previous Next Up Title Contents Index Functions Index Top Library