|
Krita Source Code Documentation
|
The KoColorProfileQuery struct. More...
#include <KoColorProfileQuery.h>
Public Member Functions | |
| bool | isGrayscale () const |
| bool | isRgb () const |
| bool | isValid () const |
| CICP-compatible enum value representing the transfer function. | |
| KoColorProfileQuery (ColorPrimaries primaries=PRIMARIES_UNSPECIFIED, TransferCharacteristics transfer=TRC_UNSPECIFIED) | |
Public Attributes | |
| 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 |
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.
|
inline |
Definition at line 35 of file KoColorProfileQuery.h.
References primaries, PRIMARIES_UNSPECIFIED, rgbColorants, transfer, TRC_UNSPECIFIED, and whitePoint.
|
inline |
Definition at line 42 of file KoColorProfileQuery.h.
References primaries, PRIMARIES_UNSPECIFIED, rgbColorants, transfer, TRC_UNSPECIFIED, and whitePoint.
|
inline |
CICP-compatible enum value representing the transfer function.
Definition at line 31 of file KoColorProfileQuery.h.
References isGrayscale(), and isRgb().
| ColorPrimaries KoColorProfileQuery::primaries |
Rgb Primaries of the profile. When empty, this is a query for a greyscale profile.
Definition at line 28 of file KoColorProfileQuery.h.
| QList<KoColorimetryUtils::xy> KoColorProfileQuery::rgbColorants |
The desired white point of the profile.
Definition at line 26 of file KoColorProfileQuery.h.
| TransferCharacteristics KoColorProfileQuery::transfer |
CICP-compatible enum value representing the white point and primaries.
Definition at line 29 of file KoColorProfileQuery.h.
| KoColorimetryUtils::xy KoColorProfileQuery::whitePoint |
Definition at line 25 of file KoColorProfileQuery.h.