XcmsColor(3X11) manual page

Table of Contents

## Name

XcmsColor, XcmsRGB, XcmsRGBi, XcmsCIEXYZ, XcmsCIEuvY, XcmsCIExyY, XcmsCIELab, XcmsCIELuv, XcmsTekHVC, XcmsPad - Xcms color struture

## Structures

The structure for XcmsColor contains:

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef unsigned long XcmsColorFormat;
    typedef struct {
        union {
            XcmsRGB RGB;
            XcmsRGBi RGBi;
            XcmsCIEXYZ CIEXYZ;
            XcmsCIEuvY CIEuvY;
            XcmsCIExyY CIExyY;
            XcmsCIELab CIELab;
            XcmsCIELuv CIELuv;
            XcmsTekHVC TekHVC;
            XcmsPad Pad;
        } spec;
        unsigned long pixel;
        XcmsColorFormat format;
    } XcmsColor;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef double XcmsFloat;
    typedef struct {
        unsigned short red;
        unsigned short green;
        unsigned short blue;
    } XcmsRGB;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat red;
        XcmsFloat green;
        XcmsFloat blue;
    } XcmsRGBi;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat X;
        XcmsFloat Y;
        XcmsFloat Z;
    } XcmsCIEXYZ;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat u_prime;
        XcmsFloat v_prime;
        XcmsFloat Y;
    } XcmsCIEuvY;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat x;
        XcmsFloat y;
        XcmsFloat Y;
    } XcmsCIExyY;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat L_star;
        XcmsFloat a_star;
        XcmsFloat b_star;
    } XcmsCIELab;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat L_star;
        XcmsFloat u_star;
        XcmsFloat v_star;
    } XcmsCIELuv;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat H;
        XcmsFloat V;
        XcmsFloat C;
    } XcmsTekHVC;

    0
    0>=40 .vs 0u
    0<=39 .vs 0p
    typedef struct {
        XcmsFloat pad0;
        XcmsFloat pad1;
        XcmsFloat pad2;
        XcmsFloat pad3;
    } XcmsPad;

## Description

The XcmsColor structure contains a union of substructures, each supporting color specification encoding for a particular color space.

## See Also

XcmsAllocColor(3X11) , XcmsStoreColor(3X11) , XcmsConvertColors(3X11) ,
Xlib - C Language X Interface

Table of Contents

- Name
- Structures
- Description
- See Also