Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pe_release_pseudo_colr(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pe_release_pseudo_colr(3g)  —  Subroutines

Name

pe_release_pseudo_colr − Releases a color approximation data record. 

Operating States: PHOP, ∗, ∗, ∗
Digital PHIGS extension function

Syntax

void pe_release_pseudo_colr (
  Pint                       wsid,     /∗ (I) Workstation identifier ∗/
  const Ppseudo_approx_rec  ∗datarec   /∗ (I) Color-mapping data record ∗/
)

Data Structures

typedef struct {  /∗ pseudo color approximation  ∗/
    Pint        range;         /∗ number of colors ∗/
    Pfloat      weight[3];     /∗ weight vector ∗/
    Pint        model;         /∗ color model ∗/
    Pcolr_rep  ∗colr;          /∗ color map ∗/
} Ppseudo_approx_rec;
    typedef union {
        Prgb        rgb;       /∗ red, green, and blue color
                                  specification ∗/
        Pcieluv     cieluv;    /∗ CIELUV color specification ∗/
        Phls        hls;       /∗ hue, lightness, and saturation color
                                  specification ∗/
        Phsv        hsv;       /∗ hue, saturation, and value color
                                  specification ∗/
        Pdata       unsupp;    /∗ color in an unsupported color model ∗/
        int         impl_dep;  /∗ implementation-defined ∗/
    } Pcolr_rep;
        typedef struct {
            Pfloat   red;     /∗ red intensity   ∗/
            Pfloat   green;   /∗ green intensity ∗/
            Pfloat   blue;    /∗ blue intensity  ∗/
        } Prgb;
        typedef struct {
            Pfloat   cieluv_x;      /∗ x coefficient ∗/
            Pfloat   cieluv_y;      /∗ y coefficient ∗/
            Pfloat   cieluv_y_lum;  /∗ y luminance ∗/
        } Pcieluv;
        typedef struct {
            Pfloat   hue;        /∗ hue ∗/
            Pfloat   lightness;  /∗ lightness ∗/
            Pfloat   satur;      /∗ saturation ∗/
        } Phls;
        typedef struct {
            Pfloat   hue;    /∗ hue ∗/
            Pfloat   satur;  /∗ saturation ∗/
            Pfloat   value;  /∗ value ∗/
        } Phsv;
        typedef struct {
            size_t   size;   /∗ size of data ∗/
            void    ∗data;   /∗ pointer to the data ∗/
        } Pdata;

Description

pe_release_pseudo_colr releases a color approximation data record and deassigns the given index to this mapping. 

See Also

pe_set_pseudo_colr
pe_setup_pseudo_colr

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