|
Krita Source Code Documentation
|
The KoColorProfileQuery struct. More...
#include <KoColorProfileQuery.h>
Public Member Functions | |
| bool | isGrayscale () const |
| bool | isRgb () const |
| bool | isValid () const |
| Used for PQ profiles. | |
| KoColorProfileQuery (ColorPrimaries primaries=PRIMARIES_UNSPECIFIED, TransferCharacteristics transfer=TRC_UNSPECIFIED, std::optional< qreal > hdrReferenceWhite=std::nullopt) | |
| KoColorProfileQuery (const KoColorProfileQuery &rhs)=default | |
| KoColorProfileQuery (KoColorProfileQuery &&rhs)=default | |
| bool | operator!= (const KoColorProfileQuery &rhs) const |
| KoColorProfileQuery & | operator= (const KoColorProfileQuery &rhs)=default |
| KoColorProfileQuery & | operator= (KoColorProfileQuery &&rhs)=default |
| bool | operator== (const KoColorProfileQuery &rhs) const |
Public Attributes | |
| std::optional< double > | hdrReferenceWhite |
| CICP-compatible enum value representing the transfer function. | |
| ColorPrimaries | primaries |
| Rgb Primaries of the profile. When empty, this is a query for a greyscale profile. | |
| QList< KoColorimetryUtils::xy > | rgbColorants |
| The desired white point of the profile. | |
| TransferCharacteristics | transfer |
| CICP-compatible enum value representing the white point and primaries. | |
| KoColorimetryUtils::xy | whitePoint {0.0, 0.0} |
The KoColorProfileQuery struct.
This is a struct that represents the characteristics of a KoColorProfile for either search or generation.
Definition at line 19 of file KoColorProfileQuery.h.
|
inline |
Definition at line 20 of file KoColorProfileQuery.h.
|
default |
|
default |
|
inline |
Definition at line 46 of file KoColorProfileQuery.h.
References primaries, PRIMARIES_UNSPECIFIED, rgbColorants, transfer, TRC_UNSPECIFIED, and whitePoint.
|
inline |
Definition at line 53 of file KoColorProfileQuery.h.
References primaries, PRIMARIES_UNSPECIFIED, rgbColorants, transfer, TRC_UNSPECIFIED, and whitePoint.
|
inline |
Used for PQ profiles.
Definition at line 42 of file KoColorProfileQuery.h.
References isGrayscale(), and isRgb().
|
inline |
Definition at line 67 of file KoColorProfileQuery.h.
|
default |
|
default |
|
inline |
Definition at line 59 of file KoColorProfileQuery.h.
References hdrReferenceWhite, primaries, rgbColorants, transfer, and whitePoint.
| std::optional<double> KoColorProfileQuery::hdrReferenceWhite |
CICP-compatible enum value representing the transfer function.
Definition at line 40 of file KoColorProfileQuery.h.
| ColorPrimaries KoColorProfileQuery::primaries |
Rgb Primaries of the profile. When empty, this is a query for a greyscale profile.
Definition at line 37 of file KoColorProfileQuery.h.
| QList<KoColorimetryUtils::xy> KoColorProfileQuery::rgbColorants |
The desired white point of the profile.
Definition at line 35 of file KoColorProfileQuery.h.
| TransferCharacteristics KoColorProfileQuery::transfer |
CICP-compatible enum value representing the white point and primaries.
Definition at line 38 of file KoColorProfileQuery.h.
| KoColorimetryUtils::xy KoColorProfileQuery::whitePoint {0.0, 0.0} |
Definition at line 34 of file KoColorProfileQuery.h.