XcmsColor(3X11)

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

STRUCTURES
The structure for contains:

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;

typedef double XcmsFloat;

typedef struct {
    unsigned short red;
    unsigned short green;
    unsigned short blue; } XcmsRGB;

typedef struct {
    XcmsFloat red;
    XcmsFloat green;
    XcmsFloat blue; } XcmsRGBi;

typedef struct {
    XcmsFloat X;
    XcmsFloat Y;
    XcmsFloat Z; } XcmsCIEXYZ;

typedef struct {
    XcmsFloat u_prime;
    XcmsFloat v_prime;
    XcmsFloat Y; } XcmsCIEuvY;

typedef struct {
    XcmsFloat x;
    XcmsFloat y;
    XcmsFloat Y; } XcmsCIExyY;

typedef struct {
    XcmsFloat L_star;
    XcmsFloat a_star;
    XcmsFloat b_star; } XcmsCIELab;

typedef struct {
    XcmsFloat L_star;
    XcmsFloat u_star;
    XcmsFloat v_star; } XcmsCIELuv;

typedef struct {
    XcmsFloat H;
    XcmsFloat V;
    XcmsFloat C; } XcmsTekHVC;

typedef struct {
    XcmsFloat pad0;
    XcmsFloat pad1;
    XcmsFloat pad2;
    XcmsFloat pad3; } XcmsPad;

DESCRIPTION
The 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