pinq_colr_model_facs(3g) — Subroutines
Name
pinq_colr_model_facs − Returns color model information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pinq_colr_model_facs (
Pint wstype, /∗ (I) Workstation type ∗/
Pint num_elem, /∗ (I) Number of elements in the application
list ∗/
Pint start, /∗ (I) Starting position within the Digital
PHIGS list ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Pint_list ∗models, /∗ (O) List of color models ∗/
Pint ∗act_num, /∗ (O) Total number of color models in the
Digital PHIGS list ∗/
Pint ∗def /∗ (O) Default color model ∗/
)
Data Structures
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
def 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_facs queries the workstation description table and returns an error indicator, the list of available color models, and the default color model.
See Also
pinq_colr_facs
pset_colr_model