8 #ifndef SCCOLORSPACEDATA_H
9 #define SCCOLORSPACEDATA_H
12 #include "sccolormgmtelem.h"
13 #include "sccolorprofile.h"
14 #include "sccolortransform.h"
15 #include "sccolormgmtstructs.h"
20 eColorFormat m_colorFormat;
25 eColorType type()
const {
return colorFormatType(m_colorFormat); }
26 eColorFormat colorFormat()
const {
return m_colorFormat; }
29 uint numChannels(
void)
const {
return colorFormatNumChannels(m_colorFormat); }
30 uint bytesPerChannel(
void)
const {
return colorFormatBytesPerChannel(m_colorFormat); }
31 bool hasAlphaChannel(
void)
const {
return colorFormatHasAlpha(m_colorFormat); }
37 virtual uint alphaIndex(
void)
const = 0;
40 virtual void flattenAlpha(
void* dataIn, uint numElems)
const = 0;
46 eRenderIntent renderIntent,
long transformFlags);
50 eRenderIntent renderIntent, eRenderIntent proofingIntent,
54 eRenderIntent proofingIntent,
long transformFlags);
57 virtual bool convert(
ScColorSpaceData& data, eRenderIntent renderIntent,
long transformFlags,
58 void* dataIn,
void* dataOut, uint numElems,
ScColorTransform* lastTrans = 0);
59 virtual bool convert(
ScColorSpaceData& data, eRenderIntent renderIntent,
long transformFlags,
60 void* dataIn, QIODevice* device, uint numElems,
ScColorTransform* lastTrans = 0);
Definition: sccolorprofile.h:16
Definition: sccolorspacedata.h:17
Definition: sccolormgmtelem.h:13
Definition: sccolormgmtengine.h:16