Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QColorMatrix Class Reference

#include <qcolormatrix_p.h>

+ Collaboration diagram for QColorMatrix:

Public Member Functions

bool isNull () const
 
bool isValid () const
 
bool isIdentity () const noexcept
 
QColorMatrix inverted () const
 
QColorMatrix operator* (const QColorMatrix &o) const
 
QColorVector map (const QColorVector &c) const
 
QColorMatrix transposed () const
 

Static Public Member Functions

static QColorMatrix identity ()
 
static QColorMatrix fromScale (QColorVector v)
 
static QColorMatrix toXyzFromSRgb ()
 
static QColorMatrix toXyzFromAdobeRgb ()
 
static QColorMatrix toXyzFromDciP3D65 ()
 
static QColorMatrix toXyzFromProPhotoRgb ()
 

Public Attributes

QColorVector r
 
QColorVector g
 
QColorVector b
 

Friends

bool operator== (const QColorMatrix &m1, const QColorMatrix &m2)
 
bool operator!= (const QColorMatrix &m1, const QColorMatrix &m2)
 

Detailed Description

Definition at line 81 of file qcolormatrix_p.h.

Member Function Documentation

◆ fromScale()

static QColorMatrix QColorMatrix::fromScale ( QColorVector  v)
inlinestatic

Definition at line 161 of file qcolormatrix_p.h.

Referenced by QColorSpacePrimaries::toXyzMatrix().

+ Here is the caller graph for this function:

◆ identity()

static QColorMatrix QColorMatrix::identity ( )
inlinestatic

Definition at line 157 of file qcolormatrix_p.h.

Referenced by isIdentity().

+ Here is the caller graph for this function:

◆ inverted()

QColorMatrix QColorMatrix::inverted ( ) const
inline

Definition at line 109 of file qcolormatrix_p.h.

References b, g, r, QColorVector::x, QColorVector::y, and QColorVector::z.

Referenced by QColorSpacePrimaries::toXyzMatrix().

+ Here is the caller graph for this function:

◆ isIdentity()

bool QColorMatrix::isIdentity ( ) const
inlinenoexcept

Definition at line 104 of file qcolormatrix_p.h.

References identity().

Referenced by QColorTransformPrivate::apply(), and QColorTransformPrivate::isIdentity().

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

◆ isNull()

bool QColorMatrix::isNull ( ) const
inline

Definition at line 92 of file qcolormatrix_p.h.

◆ isValid()

bool QColorMatrix::isValid ( ) const
inline

Definition at line 96 of file qcolormatrix_p.h.

References qFuzzyIsNull().

Referenced by QColorTransformPrivate::apply(), QColorTransformPrivate::applyReturnGray(), and QColorSpace::isValid().

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

◆ map()

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

Definition at line 144 of file qcolormatrix_p.h.

References QColorVector::x.

Referenced by applyMatrix(), QColorTransform::map(), QColorTransform::map(), QColorTransform::map(), QColorTransform::map(), QColorTransform::map(), and QColorSpacePrimaries::toXyzMatrix().

+ Here is the caller graph for this function:

◆ operator*()

QColorMatrix QColorMatrix::operator* ( const QColorMatrix o) const
inline

Definition at line 127 of file qcolormatrix_p.h.

References b, g, o, r, QColorVector::x, QColorVector::y, and QColorVector::z.

◆ toXyzFromAdobeRgb()

static QColorMatrix QColorMatrix::toXyzFromAdobeRgb ( )
inlinestatic

Definition at line 174 of file qcolormatrix_p.h.

Referenced by QIcc::fromIccProfile().

+ Here is the caller graph for this function:

◆ toXyzFromDciP3D65()

static QColorMatrix QColorMatrix::toXyzFromDciP3D65 ( )
inlinestatic

Definition at line 180 of file qcolormatrix_p.h.

Referenced by QIcc::fromIccProfile().

+ Here is the caller graph for this function:

◆ toXyzFromProPhotoRgb()

static QColorMatrix QColorMatrix::toXyzFromProPhotoRgb ( )
inlinestatic

Definition at line 186 of file qcolormatrix_p.h.

Referenced by QIcc::fromIccProfile().

+ Here is the caller graph for this function:

◆ toXyzFromSRgb()

static QColorMatrix QColorMatrix::toXyzFromSRgb ( )
inlinestatic

Definition at line 168 of file qcolormatrix_p.h.

Referenced by QIcc::fromIccProfile().

+ Here is the caller graph for this function:

◆ transposed()

QColorMatrix QColorMatrix::transposed ( ) const
inline

Definition at line 150 of file qcolormatrix_p.h.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const QColorMatrix m1,
const QColorMatrix m2 
)
friend

Definition at line 199 of file qcolormatrix_p.h.

◆ operator==

bool operator== ( const QColorMatrix m1,
const QColorMatrix m2 
)
friend

Definition at line 194 of file qcolormatrix_p.h.

Member Data Documentation

◆ b

QColorVector QColorMatrix::b

◆ g

QColorVector QColorMatrix::g

◆ r


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