COLORXYZ Class Reference

A color in XYZ space, represented using doubles instead of INT16. More...

#include <mi32/mg2cms.h>

List of all members.

Public Member Functions

 COLORXYZ (const COLOR &)
 COLORXYZ (const COLORXYZ &)
 COLORXYZ (double X, double Y, double Z)
 COLORXYZ ()
bool GetColor_sRGB (COLOR &) const
COLORXYZoperator= (const COLOR &rhs)
COLORXYZoperator= (const COLORXYZ &rhs)

Static Public Member Functions

static const SERIALIZERITEMGetSerialItemDef ()

Detailed Description

A color in XYZ space, represented using doubles instead of INT16.

The class members are public, but not shown here due to the way the class is defined. They're named X, Y, and Z If you have included <lcms/lcms.h> before this include file, then COLORXYZ is defined as being derived from cmsCIEXYZ so that you can pass one to functions in the lcms library. But only the mg2cms.c module needs to do that.


Constructor & Destructor Documentation

COLORXYZ::COLORXYZ (  ) 
COLORXYZ::COLORXYZ ( double  X,
double  Y,
double  Z 
)
COLORXYZ::COLORXYZ ( const COLORXYZ  ) 
COLORXYZ::COLORXYZ ( const COLOR  )  [explicit]

Member Function Documentation

bool COLORXYZ::GetColor_sRGB ( COLOR  )  const

Converts the color to sRGB and returns in our COLOR structure Returns false if out of gammut.

static const SERIALIZERITEM* COLORXYZ::GetSerialItemDef (  )  [static]

Get the ITEMDEF array for serializing this class.

COLORXYZ& COLORXYZ::operator= ( const COLOR rhs  ) 
COLORXYZ& COLORXYZ::operator= ( const COLORXYZ rhs  ) 

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:17 2012 for TNTsdk 2012 by  doxygen 1.6.1