| 1 |
/* |
| 2 |
* SPDX-FileCopyrightText: 2010 Cyrille Berger <[email protected]> |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: LGPL-2.1-or-later |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef _KO_DUMMY_COLOR_PROFILE_H_ |
| 8 |
#define _KO_DUMMY_COLOR_PROFILE_H_ |
| 9 |
|
| 10 |
#include "KoColorProfile.h" |
| 11 |
|
| 12 |
class KoDummyColorProfile : public KoColorProfile |
| 13 |
{ |
| 14 |
public: |
| 15 |
KoDummyColorProfile(); |
| 16 |
~KoDummyColorProfile() override; |
| 17 |
KoColorProfile* clone() const override; |
| 18 |
bool valid() const override; |
| 19 |
float version() const override; |
| 20 |
bool isSuitableForOutput() const override; |
| 21 |
bool isSuitableForInput() const override; |
| 22 |
bool isSuitableForWorkspace() const override; |
| 23 |
bool isSuitableForPrinting() const override; |
| 24 |
bool isSuitableForDisplay() const override; |
| 25 |
bool supportsPerceptual() const override; |
| 26 |
bool supportsSaturation() const override; |
| 27 |
bool supportsAbsolute() const override; |
| 28 |
bool supportsRelative() const override; |
| 29 |
bool hasColorants() const override; |
| 30 |
bool hasTRC() const override; |
| 31 |
bool isLinear() const override; |
| 32 |
QVector <double> getColorantsXYZ() const override; |
| 33 |
QVector <double> getColorantsxyY() const override; |
| 34 |
QVector <double> getWhitePointXYZ() const override; |
| 35 |
QVector <double> getWhitePointxyY() const override; |
| 36 |
QVector <double> getEstimatedTRC() const override; |
| 37 |
bool compareTRC(TransferCharacteristics characteristics, float error) const override; |
| 38 |
void linearizeFloatValue(QVector <double> & Value) const override; |
| 39 |
void delinearizeFloatValue(QVector <double> & Value) const override; |
| 40 |
void linearizeFloatValueFast(QVector <double> & Value) const override; |
| 41 |
void delinearizeFloatValueFast(QVector <double> & Value) const override; |
| 42 |
bool operator==(const KoColorProfile&) const override; |
| 43 |
QByteArray uniqueId() const override; |
| 44 |
}; |
| 45 |
|
| 46 |
#endif |