diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-10-09 21:08:16 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-10-09 21:08:16 +0200 |
commit | b34c4d8c337aba6d7d44dfd58087ebd6e2d143e3 (patch) | |
tree | 1f28011425bdb7a577ad23d91d0007b9f215e17d /ksvg/impl/SVGColorProfileElementImpl.h | |
parent | e76fc32e0582f8bc801fb2c253dc826fb61873ec (diff) | |
download | tdegraphics-b34c4d8c337aba6d7d44dfd58087ebd6e2d143e3.tar.gz tdegraphics-b34c4d8c337aba6d7d44dfd58087ebd6e2d143e3.zip |
Add support for lcms2
Diffstat (limited to 'ksvg/impl/SVGColorProfileElementImpl.h')
-rw-r--r-- | ksvg/impl/SVGColorProfileElementImpl.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ksvg/impl/SVGColorProfileElementImpl.h b/ksvg/impl/SVGColorProfileElementImpl.h index db4f322e..7c4f884f 100644 --- a/ksvg/impl/SVGColorProfileElementImpl.h +++ b/ksvg/impl/SVGColorProfileElementImpl.h @@ -28,6 +28,15 @@ #undef QT_VERSION // Needed for 1.08 *grml* #include LCMS_HEADER +#if LCMS_VERSION < 2000 +#define cmsColorSpaceSignature icColorSpaceSignature +#define cmsChannelsOf _cmsChannelsOf +#define cmsFLAGS_NOOPTIMIZE cmsFLAGS_NOTPRECALC +#define cmsGetHeaderRenderingIntent cmsTakeRenderingIntent +#define cmsMAXCHANNELS MAXCHANNELS +#define cmsSigRgbData icSigRgbData +#endif + #include "SVGElementImpl.h" #include "SVGURIReferenceImpl.h" @@ -74,7 +83,7 @@ private: cmsHTRANSFORM m_hTrans; int m_intent; - icColorSpaceSignature m_inputColorSpace, m_outputColorSpace; + cmsColorSpaceSignature m_inputColorSpace, m_outputColorSpace; public: KSVG_GET |