Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psrcm(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSRCM(3g)  —  Subroutines

Name

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

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

Old Syntax

DSRCM (CMODEL)

Argument        Data Type     Access     Description
---------------------------------------------------------------------------
CMODEL          Integer       Read       Color model
---------------------------------------------------------------------------

New Syntax

PSRCM (RCOLM)

Argument        Data Type     Access     Description
---------------------------------------------------------------------------
RCOLM           Integer       Read       Rendering color model
---------------------------------------------------------------------------

Constants

Defined Argument     Constant    Description
---------------------------------------------------------------------------
RCOLM                PINDIR      Indirect (indexed) color
                     PRGB        Direct specification of red, green, and
                                 blue
                     PCIE        Direct specification in the format of the
                                 Commission Internationale de l’Eclairage
                     PHSV        Direct specification of hue, saturation,
                                 and value
                     PHLS        Direct specification of hue, lightness,
                                 and saturation
---------------------------------------------------------------------------

Description

PSRCM 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 PSCMD attribute function. 

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

The new function syntax conforms to the ISO Fortran standard.  Digital recommends that you code using the new function syntax. 

See Also

PQRCMF
PSCMD

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