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>.
Loading...
Searching...
No Matches
QColorSpacePrimaries Class Reference

#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
 

Detailed Description

Definition at line 32 of file qcolorspace_p.h.

Constructor & Destructor Documentation

◆ QColorSpacePrimaries() [1/3]

QColorSpacePrimaries::QColorSpacePrimaries ( )
default

◆ QColorSpacePrimaries() [2/3]

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.

+ Here is the call graph for this function:

◆ QColorSpacePrimaries() [3/3]

QColorSpacePrimaries::QColorSpacePrimaries ( QPointF whitePoint,
QPointF redPoint,
QPointF greenPoint,
QPointF bluePoint )
inline

Definition at line 37 of file qcolorspace_p.h.

Member Function Documentation

◆ areValid()

bool QColorSpacePrimaries::areValid ( ) const

Definition at line 68 of file qcolorspace.cpp.

References bluePoint, greenPoint, QColorVector::isValidChromaticity(), redPoint, and whitePoint.

Referenced by QPngHandlerPrivate::readPngHeader().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toXyzMatrix()

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.

+ Here is the call graph for this function:

Member Data Documentation

◆ bluePoint

QPointF QColorSpacePrimaries::bluePoint

Definition at line 53 of file qcolorspace_p.h.

Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().

◆ greenPoint

QPointF QColorSpacePrimaries::greenPoint

Definition at line 52 of file qcolorspace_p.h.

Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().

◆ redPoint

QPointF QColorSpacePrimaries::redPoint

Definition at line 51 of file qcolorspace_p.h.

Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().

◆ whitePoint

QPointF QColorSpacePrimaries::whitePoint

Definition at line 50 of file qcolorspace_p.h.

Referenced by areValid(), QPngHandlerPrivate::readPngHeader(), and toXyzMatrix().


The documentation for this class was generated from the following files: