Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qcolorspace_p.h>
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 32 of file qcolorspace_p.h.
|
default |
QColorSpacePrimaries::QColorSpacePrimaries | ( | QColorSpace::Primaries | primaries | ) |
Definition at line 36 of file qcolorspace.cpp.
References QColorSpace::AdobeRgb, QColorVector::D50Chromaticity(), QColorVector::D65Chromaticity(), QColorSpace::DciP3D65, QColorSpace::ProPhotoRgb, and QColorSpace::SRgb.
|
inline |
Definition at line 37 of file qcolorspace_p.h.
bool QColorSpacePrimaries::areValid | ( | ) | const |
Definition at line 68 of file qcolorspace.cpp.
References bluePoint, greenPoint, QColorVector::isValidChromaticity(), redPoint, and whitePoint.
Referenced by QPngHandlerPrivate::readPngHeader().
QColorMatrix QColorSpacePrimaries::toXyzMatrix | ( | ) | const |
Definition at line 81 of file qcolorspace.cpp.
References bluePoint, QColorMatrix::fromScale(), QColorVector::fromXYChromaticity(), greenPoint, QColorMatrix::inverted(), QColorMatrix::map(), redPoint, and whitePoint.
QPointF QColorSpacePrimaries::bluePoint |
Definition at line 53 of file qcolorspace_p.h.
Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().
QPointF QColorSpacePrimaries::greenPoint |
Definition at line 52 of file qcolorspace_p.h.
Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().
QPointF QColorSpacePrimaries::redPoint |
Definition at line 51 of file qcolorspace_p.h.
Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().
QPointF QColorSpacePrimaries::whitePoint |
Definition at line 50 of file qcolorspace_p.h.
Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().