ImageGear for C and C++ on Linux - Updated
AT_PDE_COLORDATA_CALRGB
API Reference Guide > PDF Component API Reference > PDF Component Structures Reference > AT_PDE_COLORDATA_CALRGB

Describes a CalRGB color space.

Declaration:

 
Copy Code
typedef struct tagAT_PDE_COLORDATA_CALRGB
{
        AT_PDE_XYZCOLOR whitePoint;
        AT_PDE_XYZCOLOR blackPoint;
        float redGamma;
        float greenGamma;
        float blueGamma;
        float matrix[9];
} AT_PDE_COLORDATA_CALRGB;
typedef AT_PDE_COLORDATA_CALRGB FAR* LPAT_PDE_COLORDATA_CALRGB;

Members:

Name Type Description
whitePoint AT_PDE_XYZCOLOR White point
blackPoint AT_PDE_XYZCOLOR Black point
redGamma float Red gamma
greenGamma float Green gamma
blueGamma float Blue gamma
matrix float[9] Matrix

Remarks:

Default calRGB = {{0, 0, 0}, {0, 0, 0}, 1, 1, 1, {1, 0, 0, 0, 1, 0, 0, 0, 1}};