Scribus
Open source desktop publishing at your fingertips
sccolortransformdata.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 SCCOLORTRANSFORMDATA_H
9 #define SCCOLORTRANSFORMDATA_H
10 
11 #include <QByteArray>
12 #include <QString>
13 
14 #include "sccolormgmtelem.h"
15 #include "sccolormgmtstructs.h"
16 
18 {
19 protected:
20  ScColorTransformInfo m_transformInfo;
21 
22 public:
23  inline const ScColorTransformInfo& transformInfo() const { return m_transformInfo; }
24  inline void setTransformInfo(const ScColorTransformInfo& info) { m_transformInfo = info; }
25 
26  virtual bool isNull() const = 0;
27 
28  virtual bool apply(void* input, void* output, uint numElem) = 0;
29  virtual bool apply(QByteArray& input, QByteArray& output, uint numElem) = 0;
30 };
31 
32 #endif
Definition: sccolortransformdata.h:17
Definition: sccolormgmtstructs.h:114
Definition: sccolormgmtelem.h:13