Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_rend_colr_model_facs(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_rend_colr_model_facs(3g)  —  Subroutines

Name

pinq_rend_colr_model_facs − Returns number of available rendering color models and list of available rendering color models. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS PLUS function

Syntax

void pinq_rend_colr_model_facs (
 
  Pint        wstype,               /∗ (I) Workstation type ∗/
  Pint        num_elems_appl_list,  /∗ (I) Number of elements in the
                                           application list ∗/
  Pint        start,                /∗ (I) Starting position within the
                                           Digital PHIGS list of color
                                           models ∗/
  Pint       ∗error_ind,            /∗ (O) Error indicator ∗/
  Pint_list  ∗models,               /∗ (O) List of rendering color
                                           models ∗/
  Pint       ∗num_elems_impl_list   /∗ (O) Total number of elements in
                                           the list of rendering color
                                           models in Digital PHIGS ∗/
)

 

Data Structures

typedef struct {
    Pint      num_ints;   /∗ number of Pints in the list ∗/
    Pint     ∗ints;       /∗ list of integers ∗/
} Pint_list;

Constants

Data Structure Constants   Constant                  Description
---------------------------------------------------------------------------
Rendering color models     PREND_COLR_MODEL_WS_DEP   Workstation-dependent
                                                     color model
                           PREND_COLR_MODEL_RGB      Red, green, and blue
                                                     color model
                           PREND_COLR_MODEL_CIELUV   Color model of the
                                                     Commission Internatio-
                                                     nale de l’Eclairage
                           PREND_COLR_MODEL_HSV      Hue, saturation, and
                                                     value color model
                           PREND_COLR_MODEL_HLS      Hue, lightness, and
                                                     saturation color model
---------------------------------------------------------------------------

Description

pinq_rend_colr_model_facs returns the number of available rendering color models and the list of available rendering color models. 

The application must provide the space used by the list.  The application passes the address of the list, an array of integers, in the ints field of the models argument, and passes the size in the num_elems_appl_list argument.  Digital PHIGS returns the number of elements written to the list in the num_ints field of the models argument. 

See Also

pset_rend_colr_model

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026