Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pset_rend_colr_model(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pset_rend_colr_model(3g)  —  Subroutines

Name

pset_rend_colr_model − Sets the rendering color model in which color interpolation occurs. 

 
Operating States: PHOP, ∗, STOP, ∗
PHIGS PLUS function
Creates a structure element

Syntax

 

void pset_rend_colr_model (
  Pint     model    /∗ (I) Rendering color model ∗/
)

 

Constants

Defined Argument    Constant                    Description
---------------------------------------------------------------------------
model               PREND_COLR_MODEL_WS_DEP     Workstation-dependent
                                                method
                    PREND_COLR_MODEL_RGB        Color type red, green, and
                                                blue
                    PREND_COLR_MODEL_CIELUV     Color type Commission
                                                Internationale de
                                                l’Eclairage
                    PREND_COLR_MODEL_HSV        Color type hue, saturation,
                                                and value
                    PREND_COLR_MODEL_HLS        Color type hue, lightness,
                                                and saturation
---------------------------------------------------------------------------

Description

pset_rend_colr_model sets the rendering color model in which color interpolation occurs.  Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new set rendering color model element. 

The specified rendering color value defines the color space in which colors are represented and interpolated when they pass through the rendering pipeline.  For a description of the color models, see the pset_colr_model attribute function. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

See Also

pinq_rend_colr_model_facs
pset_colr_model

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