![]() |
Qt 6.x
The Qt SDK
|
#include <qcolorspace_p.h>
Collaboration diagram for QColorSpacePrimaries:Public Member Functions | |
| QColorSpacePrimaries ()=default | |
| QColorSpacePrimaries (QColorSpace::Primaries primaries) | |
| QColorSpacePrimaries (QPointF whitePoint, QPointF redPoint, QPointF greenPoint, QPointF bluePoint) | |
| QColorMatrix | toXyzMatrix () const |
| bool | areValid () const |
Public Attributes | |
| QPointF | whitePoint |
| QPointF | redPoint |
| QPointF | greenPoint |
| QPointF | bluePoint |
Definition at line 31 of file qcolorspace_p.h.
|
default |
| QColorSpacePrimaries::QColorSpacePrimaries | ( | QColorSpace::Primaries | primaries | ) |
Definition at line 35 of file qcolorspace.cpp.
References QColorSpace::AdobeRgb, QColorVector::D50Chromaticity(), QColorVector::D65Chromaticity(), QColorSpace::DciP3D65, QColorSpace::ProPhotoRgb, and QColorSpace::SRgb.
Here is the call graph for this function:
|
inline |
Definition at line 36 of file qcolorspace_p.h.
| bool QColorSpacePrimaries::areValid | ( | ) | const |
Definition at line 67 of file qcolorspace.cpp.
References bluePoint, greenPoint, QColorVector::isValidChromaticity(), redPoint, and whitePoint.
Referenced by QIcc::fromIccProfile(), and QPngHandlerPrivate::readPngHeader().
Here is the call graph for this function:
Here is the caller graph for this function:| QColorMatrix QColorSpacePrimaries::toXyzMatrix | ( | ) | const |
Definition at line 80 of file qcolorspace.cpp.
References bluePoint, QColorVector::D50(), QColorMatrix::fromScale(), greenPoint, QColorMatrix::inverted(), QColorMatrix::map(), QColorMatrix::r, redPoint, whitePoint, QColorVector::x, QColorVector::y, and QColorVector::z.
Referenced by QIcc::fromIccProfile(), and QColorSpacePrivate::setToXyzMatrix().
Here is the call graph for this function:
Here is the caller graph for this function:| QPointF QColorSpacePrimaries::bluePoint |
Definition at line 52 of file qcolorspace_p.h.
Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().
| QPointF QColorSpacePrimaries::greenPoint |
Definition at line 51 of file qcolorspace_p.h.
Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().
| QPointF QColorSpacePrimaries::redPoint |
Definition at line 50 of file qcolorspace_p.h.
Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().
| QPointF QColorSpacePrimaries::whitePoint |
Definition at line 49 of file qcolorspace_p.h.
Referenced by areValid(), QIcc::fromIccProfile(), QPngHandlerPrivate::readPngHeader(), QColorSpacePrivate::setToXyzMatrix(), and toXyzMatrix().