Krita Source Code Documentation
Loading...
Searching...
No Matches
KoDummyColorProfile.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2010 Cyrille Berger <cberger@cberger.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
8
13
17
22
24{
25 return true;
26}
28{
29 return 0.0;
30}
32{
33 return true;
34}
35
37{
38 return true;
39}
40
42{
43 return true;
44}
46{
47 return true;
48}
50{
51 return true;
52}
54{
55 return true;
56}
58{
59 return true;
60}
62{
63 return true;
64}
66{
67 return true;
68}
70{
71 return true;
72}
74{
75 QVector<double> d50Dummy(3);
76 d50Dummy<<0.34773<<0.35952<<1.0;
77 return d50Dummy;
78}
79
81{
82 QVector<double> d50Dummy(3);
83 d50Dummy<<0.34773<<0.35952<<1.0;
84 return d50Dummy;
85}
86
88{
89 QVector<double> d50Dummy(3);
90 d50Dummy<<0.9642<<1.0000<<0.8249;
91 return d50Dummy;
92}
93
95{
96 QVector<double> d50Dummy(3);
97 d50Dummy<<0.34773<<0.35952<<1.0;
98 return d50Dummy;
99}
100
102
103{
104 QVector<double> Dummy(3);
105 Dummy.fill(2.2);
106 return Dummy;
107}
108
110{
111 return false;
112}
113
114void KoDummyColorProfile::linearizeFloatValue(QVector <double> & ) const
115{
116}
117
118void KoDummyColorProfile::delinearizeFloatValue(QVector <double> & ) const
119{
120}
121void KoDummyColorProfile::linearizeFloatValueFast(QVector <double> & ) const
122{
123}
124
126{
127}
129{
130 return dynamic_cast<const KoDummyColorProfile*>(&rhs);
131}
132
134{
135 return QByteArray();
136}
137
TransferCharacteristics
The transferCharacteristics enum Enum of transfer characteristics, follows ITU H.273 for values 0 to ...
QVector< double > getEstimatedTRC() const override
QVector< double > getWhitePointxyY() const override
bool supportsRelative() const override
bool isSuitableForPrinting() const override
bool isLinear() const override
void linearizeFloatValueFast(QVector< double > &Value) const override
bool hasTRC() const override
bool supportsSaturation() const override
bool hasColorants() const override
bool isSuitableForOutput() const override
bool supportsAbsolute() const override
float version() const override
QByteArray uniqueId() const override
QVector< double > getWhitePointXYZ() const override
KoColorProfile * clone() const override
bool compareTRC(TransferCharacteristics characteristics, float error) const override
bool valid() const override
QVector< double > getColorantsXYZ() const override
bool isSuitableForDisplay() const override
void delinearizeFloatValue(QVector< double > &Value) const override
QVector< double > getColorantsxyY() const override
void linearizeFloatValue(QVector< double > &Value) const override
bool supportsPerceptual() const override
void delinearizeFloatValueFast(QVector< double > &Value) const override
bool operator==(const KoColorProfile &) const override
void setName(const QString &name)