INQUIRE COLOUR MODEL FACILITIES
-
CALL SEQUENCE
CALL PQCMDF (WTYPE, N, ERRIND, OL, CMOD, DFCMOD).
INPUT PARAMETERS
- INTEGER WTYPE
- Workstation type.
- INTEGER N
- Element desired in the workstation predefined color model list.
OUTPUT PARAMETERS
- INTEGER ERRIND
- Error indicator
- INTEGER OL
- Number of elements in the color model list.
- INTEGER CMOD
- Nth color model in the list.
- INTEGER DFCMOD
- Default color model.
PHIGS STATE
(PHOP, *, *, *).
EFFECT
Returns the list of colour models usable on workstations of type WTYPE
and the default colour model.
If the inquired information is available, the error indicator is returned as 0
and values are returned in the output parameters.
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 model, inquire colour model.