Scribus
Open source desktop publishing at your fingertips
sclcmscolortransformimpl.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 
8 #ifndef SCLCMSCOLORTRANSFORMIMPL_H
9 #define SCLCMSCOLORTRANSFORMIMPL_H
10 
11 #include "lcms.h"
12 #include "sccolormgmtimplelem.h"
13 #include "sccolortransformdata.h"
14 
16 {
17  friend class ScLcmsColorMgmtEngineImpl;
18 
19 public:
20  ScLcmsColorTransformImpl(ScColorMgmtEngine& engine, cmsHTRANSFORM lcmsTransform);
21  virtual ~ScLcmsColorTransformImpl();
22 
23  virtual bool isNull() const;
24 
25  virtual bool apply(void* input, void* output, uint numElem);
26  virtual bool apply(QByteArray& input, QByteArray& output, uint numElem);
27 
28 protected:
29  cmsHTRANSFORM m_transformHandle;
30 
31  void deleteTransform(void);
32 };
33 
34 #endif
Definition: sclcmscolormgmtengineimpl.h:17
Definition: sccolormgmtimplelem.h:26
Definition: sclcmscolortransformimpl.h:15
Definition: sccolormgmtengine.h:16