color.h File Reference

<mi32/color.h> Definitions for COLOR structure and functions More...

#include <mi32/colorspc.h>
#include <mi32/membuf.h>
#include <mi32/stddefns.h>

Include dependency graph for color.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  COLOR
 Structure to contain single color specification with possible transparency. More...

Defines

#define CLASSLIBEXPORT   MI_DLLCLASSIMPORT
#define NUMSTDCOLORS   80
#define STD64STEP   21845

Enumerations

enum  COLORMODEL {
  COLORMODEL_RGB = 0, COLORMODEL_CMY = 1, COLORMODEL_CMYK = 2, COLORMODEL_HIS = 3,
  COLORMODEL_HBS = 4, COLORMODEL_MunsellHSV = 5, COLORMODEL_XYZ = 6, COLORMODEL_Lab = 7,
  COLORMODEL_Pantone = 8, COLORMODEL_COUNT
}

Functions

bool operator!= (const COLOR &lhs, const COLOR &rhs)
bool operator== (const COLOR &lhs, const COLOR &rhs)
void SwapBytes (COLOR &color)


Detailed Description

<mi32/color.h> Definitions for COLOR structure and functions

Definition in file color.h.


Define Documentation

#define CLASSLIBEXPORT   MI_DLLCLASSIMPORT
 

Definition at line 200 of file color.h.

#define NUMSTDCOLORS   80
 

64 color + 16 gray

Definition at line 178 of file color.h.

#define STD64STEP   21845
 

Step value for creating 64 "standard" colors (65535 / 3).

Definition at line 177 of file color.h.


Enumeration Type Documentation

enum COLORMODEL
 

Color "model" enumeration.

Enumeration values:
COLORMODEL_RGB  Red-Green-Blue.
COLORMODEL_CMY  Cyan-Magenta-Yellow.
COLORMODEL_CMYK  Cyan-Magenta-Yellow-Black.
COLORMODEL_HIS  Hue-Intensity-Saturation single hexcone.
COLORMODEL_HBS  Hue-Brightness-Saturation double hexcone.
COLORMODEL_MunsellHSV  Munsell Hue-Saturation-Value.
COLORMODEL_XYZ  CIE XYZ (fixed point).
COLORMODEL_Lab  CIE Lab (fixed point).
COLORMODEL_Pantone  Pantone named colors (16 bit color number).
COLORMODEL_COUNT 

Definition at line 184 of file color.h.


Function Documentation

bool operator!= const COLOR lhs,
const COLOR rhs
[inline]
 

Compare COLORs for inequality.

Definition at line 697 of file color.h.

bool operator== const COLOR lhs,
const COLOR rhs
[inline]
 

Compare COLORs for equality.

Definition at line 688 of file color.h.

void SwapBytes COLOR color  )  [inline]
 

Definition at line 705 of file color.h.


Generated on Wed May 31 15:27:33 2006 for TNTsdk by  doxygen 1.3.8-20040913