[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE COLOR MODEL FACILITIES (PHOP,*,*,*)
Purpose
Use
Inquire Color Model Facilities
to inquire the list of available color models and the
default color model on the specified workstation.
If the information is available, then the graPHIGS API sets
the error indicator to zero and returns the values in
the output parameters.
If the information is unavailable,
then the values returned in the output parameters
are unpredictable and the graPHIGS API sets the error indicator
to one of the following errors:
- 2
- Function Requires State (PHOP,*,*,*)
- 52
- Workstation Type Not Recognized By Implementation
- 51
- Information Not Available For Generic Workstation Type
- 59
- Specified Workstation Does Not Have Output Capability
- 62
- This Information Not Available For MO Workstation Type
Language Bindings
C
pinq_colr_model_facs
(ws_type,
num_elems_appl_list, start_ind, err_ind, models,
num_elems_impl_list, def) |
Pint ws_typeWorkstation type.
Pint num_elems_appl_listNumber of elements in the application list
(>=0).
Pint start_indStarting index
(>=0).
Pint *err_indError indicator.
Pint_list *modelsList of color models
(1=PMODEL_RGB, 2=PMODEL_CIELUV,
3=PMODEL_HSV).
Pint *num_elems_impl_listNumber of elements in the implementation list.
Pint *defDefault color model
(1=PMODEL_RGB, 2=PMODEL_CIELUV,
3=PMODEL_HSV).
FORTRAN
PQCMDF
(wtype, n, errind, ol,
cmod, dfcmod) |
integer wtypeWorkstation type.
integer nElement of the list of available color models (>=0).
integer errindError indicator.
integer olNumber of available color models.
integer cmodnth available color model
(1=PRGB, 2=PCIE, 3=PHSV).
integer dfcmodDefault color model
(1=PRGB, 2=PCIE, 3=PHSV).
Errors
None
Related Subroutines
Inquire Color Model
Set Color Model
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]