pinq_colr_model(3g) — Subroutines
Name
pinq_colr_model − Returns the color model for the workstation.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
void pinq_colr_model (
Pint wsid, /∗ (I) Workstation identifier ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pint ∗model /∗ (O) Current color model ∗/
)
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
model PMODEL_INDEXED Indirect (indexed) color
PMODEL_RGB Direct specification of red, green,
and blue
PMODEL_CIELUV Direct specification in the format
of the Commission Internationale
de l’Eclairage
PMODEL_HSV Direct specification of hue,
saturation, and value
PMODEL_HLS Direct specification of hue,
lightness, and saturation
---------------------------------------------------------------------------
Description
pinq_colr_model queries the workstation state list and returns an error indicator and the color model for the workstation specified by the workstation identifier.
See Also
pinq_colr_model_facs
pset_colr_model
pset_colr_rep