INQUIRE COLOUR FACILITIES
-
CALL SEQUENCE
CALL PQCF (WTYPE, ERRIND, NCOLI, COLA, NPCI, CC).
INPUT PARAMETERS
- INTEGER WTYPE
- Workstation type.
OUTPUT PARAMETERS
- INTEGER ERRIND
- Error indicator
- INTEGER NCOLI
- Number of colors.
- INTEGER COLA
- Authorized color
- PMONOC :
- 0 (MONOCHROME)
- PCOLOR :
- 1 (COLOUR)
- INTEGER NPCI
- Number of predefined color indexes.
- REAL CC(9)
- primary colors in CIE colour model (x, y, z, x, y, z, x, y, z).
PHIGS STATE
(PHOP, *, *, *).
EFFECT
Returns the colour capabilities offered by workstations of type WKID. If
the inquired information is available, error indicator is returned as 0
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:
ERRORS
- 2
Ignoring function, function requires state (PHOP, *,*,*)
- 52
- Ignoring function, workstation type not recognized by the implementation
- 51
- Ignoring function, this information is not yet available for this generic
workstation type: open a workstation of this type and use the specific
workstation type
- 59
- Ignoring function, the specified workstation does not have output
capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
- 62
- Ignoring function, this information is not available for this MO
workstation type
SEE ALSO
set colour representation, inquire predefined colour representation,
inquire colour representation.