COLORxyY Class Reference

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

#include <mi32/mg2cms.h>

List of all members.

Public Member Functions

 COLORxyY (const COLOR &)
 COLORxyY (const COLORxyY &)
 COLORxyY (double x, double y, double Y)
 COLORxyY ()
bool GetColor_sRGB (COLOR &) const
COLORxyYoperator= (const COLOR &rhs)
COLORxyYoperator= (const COLORxyY &rhs)
bool SetTemperature (int DegreesKelvin)

Static Public Member Functions

static const SERIALIZERITEMGetSerialItemDef ()

Detailed Description

A color in xyY 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 Y If you have included <lcms/lcms.h> before this include file, then COLORxyY is defined as being derived from cmsCIExyY 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

COLORxyY::COLORxyY (  ) 
COLORxyY::COLORxyY ( double  x,
double  y,
double  Y 
)
COLORxyY::COLORxyY ( const COLORxyY  ) 
COLORxyY::COLORxyY ( const COLOR  ) 

Member Function Documentation

bool COLORxyY::GetColor_sRGB ( COLOR  )  const

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

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

Get the ITEMDEF array for serializing this class.

COLORxyY& COLORxyY::operator= ( const COLOR rhs  ) 
COLORxyY& COLORxyY::operator= ( const COLORxyY rhs  ) 
bool COLORxyY::SetTemperature ( int  DegreesKelvin  ) 

Set a color as a WhitePoint in degrees Kelvin.


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