colcontx.cpp File Reference

(r1785/r1402)

#include "camtypes.h"
#include "colcontx.h"
#include "colormgr.h"
#include "colourix.h"
#include "colplate.h"
#include "scunit.h"
#include "xaracms.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define GETCOLOURINCMYK(RESULT)


Define Documentation

#define GETCOLOURINCMYK RESULT   ) 
 

Value:

{                                                                                           \
        ColourContextCMYK *ccCMYK;                                                              \
        if (ScopeView != NULL)                                                                  \
            ccCMYK = (ColourContextCMYK *) ScopeView->GetColourContext(COLOURMODEL_CMYK);       \
        else                                                                                    \
            ccCMYK = (ColourContextCMYK *) ColourManager::GetColourContext(COLOURMODEL_CMYK);   \
                                                                                                \
        DColourCIET IntermediateResult;                                                         \
        ConvertToCIET(OutputColour, &IntermediateResult);                                       \
        ccCMYK->ConvertFromCIET(&IntermediateResult, (ColourGeneric *)&(RESULT));               \
    }

#define new   CAM_DEBUG_NEW
 

Definition at line 133 of file colcontx.cpp.


Generated on Sat Nov 10 03:49:06 2007 for Camelot by  doxygen 1.4.4