Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QColorMatrix Class Reference

#include <qcolormatrix_p.h>

Collaboration diagram for QColorMatrix:

Public Member Functions

constexpr bool isNull () const
constexpr float determinant () const
bool isValid () const
bool isIdentity () const noexcept
QColorMatrix inverted () const
QColorVector map (const QColorVector &c) const
QColorMatrix transposed () const

Static Public Member Functions

static QColorMatrix identity ()
static QColorMatrix fromScale (QColorVector v)
static QColorMatrix chromaticAdaptation (const QColorVector &whitePoint)
static QColorMatrix toXyzFromSRgb ()
static QColorMatrix toXyzFromAdobeRgb ()
static QColorMatrix toXyzFromDciP3D65 ()
static QColorMatrix toXyzFromProPhotoRgb ()
static QColorMatrix toXyzFromBt2020 ()

Public Attributes

QColorVector r
QColorVector g
QColorVector b

Friends

constexpr QColorMatrix operator* (const QColorMatrix &a, const QColorMatrix &o)
bool comparesEqual (const QColorMatrix &lhs, const QColorMatrix &rhs)

Detailed Description

Definition at line 204 of file qcolormatrix_p.h.

Member Function Documentation

◆ chromaticAdaptation()

QColorMatrix QColorMatrix::chromaticAdaptation ( const QColorVector & whitePoint)
inlinestatic

Definition at line 288 of file qcolormatrix_p.h.

References identity(), map(), and operator*.

Referenced by QIcc::fromIccProfile().

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

◆ determinant()

float QColorMatrix::determinant ( ) const
inlineconstexpr

Definition at line 216 of file qcolormatrix_p.h.

◆ fromScale()

QColorMatrix QColorMatrix::fromScale ( QColorVector v)
inlinestatic

Definition at line 282 of file qcolormatrix_p.h.

Referenced by qColorSpacePrimaryPointsToXyzMatrix().

Here is the caller graph for this function:

◆ identity()

QColorMatrix QColorMatrix::identity ( )
inlinestatic

Definition at line 278 of file qcolormatrix_p.h.

Referenced by chromaticAdaptation(), isIdentity(), QColorSpacePrivate::transformationToColorSpace(), and QColorSpacePrivate::transformationToXYZ().

Here is the caller graph for this function:

◆ inverted()

QColorMatrix QColorMatrix::inverted ( ) const
inline

Definition at line 232 of file qcolormatrix_p.h.

Referenced by qColorSpacePrimaryPointsToXyzMatrix().

Here is the caller graph for this function:

◆ isIdentity()

bool QColorMatrix::isIdentity ( ) const
inlinenoexcept

Definition at line 227 of file qcolormatrix_p.h.

References identity().

Referenced by QIcc::parseLutData(), and QIcc::parseMabData().

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

◆ isNull()

bool QColorMatrix::isNull ( ) const
inlineconstexpr

Definition at line 212 of file qcolormatrix_p.h.

◆ isValid()

bool QColorMatrix::isValid ( ) const
inline

Definition at line 222 of file qcolormatrix_p.h.

Referenced by QIcc::parseChad(), QIcc::parseLutData(), and QIcc::parseMabData().

Here is the caller graph for this function:

◆ map()

QColorVector QColorMatrix::map ( const QColorVector & c) const
inline

Definition at line 265 of file qcolormatrix_p.h.

Referenced by chromaticAdaptation(), qColorSpacePrimaryPointsToXyzMatrix(), and visitElement().

Here is the caller graph for this function:

◆ toXyzFromAdobeRgb()

QColorMatrix QColorMatrix::toXyzFromAdobeRgb ( )
inlinestatic

Definition at line 321 of file qcolormatrix_p.h.

Referenced by QIcc::parseRgbMatrix().

Here is the caller graph for this function:

◆ toXyzFromBt2020()

QColorMatrix QColorMatrix::toXyzFromBt2020 ( )
inlinestatic

Definition at line 339 of file qcolormatrix_p.h.

Referenced by QIcc::parseRgbMatrix().

Here is the caller graph for this function:

◆ toXyzFromDciP3D65()

QColorMatrix QColorMatrix::toXyzFromDciP3D65 ( )
inlinestatic

Definition at line 327 of file qcolormatrix_p.h.

Referenced by QIcc::parseRgbMatrix().

Here is the caller graph for this function:

◆ toXyzFromProPhotoRgb()

QColorMatrix QColorMatrix::toXyzFromProPhotoRgb ( )
inlinestatic

Definition at line 333 of file qcolormatrix_p.h.

Referenced by QIcc::parseRgbMatrix().

Here is the caller graph for this function:

◆ toXyzFromSRgb()

QColorMatrix QColorMatrix::toXyzFromSRgb ( )
inlinestatic

Definition at line 315 of file qcolormatrix_p.h.

Referenced by QIcc::parseRgbMatrix().

Here is the caller graph for this function:

◆ transposed()

QColorMatrix QColorMatrix::transposed ( ) const
inline

Definition at line 271 of file qcolormatrix_p.h.

◆ comparesEqual

bool comparesEqual ( const QColorMatrix & lhs,
const QColorMatrix & rhs )
friend

Definition at line 349 of file qcolormatrix_p.h.

◆ operator*

QColorMatrix operator* ( const QColorMatrix & a,
const QColorMatrix & o )
friend

Definition at line 248 of file qcolormatrix_p.h.

Referenced by chromaticAdaptation(), and qColorSpacePrimaryPointsToXyzMatrix().

Member Data Documentation

◆ b

QColorVector QColorMatrix::b

Definition at line 210 of file qcolormatrix_p.h.

◆ g

QColorVector QColorMatrix::g

Definition at line 209 of file qcolormatrix_p.h.

◆ r

QColorVector QColorMatrix::r

Definition at line 208 of file qcolormatrix_p.h.


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