Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Color.C File Reference

#include "Color.H"
#include <stdio.h>

Defines

#define max(a, b)   (((a) > (b)) ? (a) : (b))
#define min(a, b)   (((a) < (b)) ? (a) : (b))
#define WHITE_XYZ_X   .9505
#define WHITE_XYZ_Y   1
#define WHITE_XYZ_Z   1.0891
#define XYZ_LAB_RATIO   0.008856
#define XYZ_LAB_RATIO_CUBE_ROOT   0.20689303442
#define SIXTEEN_DIVIDED_BY_ONE_SIXTEEN   0.13793103448
#define ONE_EIGHTY_DIVIDED_BY_PI   57.29577951308232
#define PI_DIVIDED_BY_ONE_EIGHTY   0.0174532925199433
#define ONE_HUNDRED_DIVIDED_BY_MAX_CHROMA   0.7473630012207826
#define MAX_CHROMA_DIVIDED_BY_ONE_HUNDRED   1.338037872314453125
#define ONE_HUNDRED_DIVIDED_BY_MAX_SATURATION   6.568630257647671
#define MAX_SATURATION_DIVIDED_BY_ONE_HUNDRED   .1522387409210205078125
#define UNINDEX_SATURATION(saturation)   (saturation*MAX_SATURATION_DIVIDED_BY_ONE_HUNDRED)
#define INDEX_SATURATION(saturation)   (saturation*ONE_HUNDRED_DIVIDED_BY_MAX_SATURATION)
#define UNINDEX_CHROMA(chroma)   (chroma*MAX_CHROMA_DIVIDED_BY_ONE_HUNDRED)
#define INDEX_CHROMA(chroma)   (chroma*ONE_HUNDRED_DIVIDED_BY_MAX_CHROMA)
#define NEG_INF   -1024.0
#define POS_INF   1024.0

Define Documentation

#define INDEX_CHROMA chroma       (chroma*ONE_HUNDRED_DIVIDED_BY_MAX_CHROMA)
 

#define INDEX_SATURATION saturation       (saturation*ONE_HUNDRED_DIVIDED_BY_MAX_SATURATION)
 

#define max a,
     (((a) > (b)) ? (a) : (b))
 

#define MAX_CHROMA_DIVIDED_BY_ONE_HUNDRED   1.338037872314453125
 

#define MAX_SATURATION_DIVIDED_BY_ONE_HUNDRED   .1522387409210205078125
 

#define min a,
     (((a) < (b)) ? (a) : (b))
 

#define NEG_INF   -1024.0
 

#define ONE_EIGHTY_DIVIDED_BY_PI   57.29577951308232
 

#define ONE_HUNDRED_DIVIDED_BY_MAX_CHROMA   0.7473630012207826
 

#define ONE_HUNDRED_DIVIDED_BY_MAX_SATURATION   6.568630257647671
 

#define PI_DIVIDED_BY_ONE_EIGHTY   0.0174532925199433
 

#define POS_INF   1024.0
 

#define SIXTEEN_DIVIDED_BY_ONE_SIXTEEN   0.13793103448
 

#define UNINDEX_CHROMA chroma       (chroma*MAX_CHROMA_DIVIDED_BY_ONE_HUNDRED)
 

#define UNINDEX_SATURATION saturation       (saturation*MAX_SATURATION_DIVIDED_BY_ONE_HUNDRED)
 

#define WHITE_XYZ_X   .9505
 

#define WHITE_XYZ_Y   1
 

#define WHITE_XYZ_Z   1.0891
 

#define XYZ_LAB_RATIO   0.008856
 

#define XYZ_LAB_RATIO_CUBE_ROOT   0.20689303442
 


Generated on Mon Sep 15 16:27:56 2003 for inspace by doxygen1.2.18