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

#include <qcolortrc_p.h>

+ Collaboration diagram for QColorTrc:

Public Types

enum class  Type { Uninitialized , Function , Table }
 

Public Member Functions

 QColorTrc () noexcept
 
 QColorTrc (const QColorTransferFunction &fun)
 
 QColorTrc (const QColorTransferTable &table)
 
bool isLinear () const
 
bool isValid () const
 
float apply (float x) const
 
float applyExtended (float x) const
 
float applyInverse (float x) const
 
float applyInverseExtended (float x) const
 

Public Attributes

Type m_type
 
QColorTransferFunction m_fun
 
QColorTransferTable m_table
 

Friends

bool operator!= (const QColorTrc &o1, const QColorTrc &o2)
 
bool operator== (const QColorTrc &o1, const QColorTrc &o2)
 

Detailed Description

Definition at line 26 of file qcolortrc_p.h.

Member Enumeration Documentation

◆ Type

enum class QColorTrc::Type
strong
Enumerator
Uninitialized 
Function 
Table 

Definition at line 36 of file qcolortrc_p.h.

Constructor & Destructor Documentation

◆ QColorTrc() [1/3]

QColorTrc::QColorTrc ( )
inlinenoexcept

Definition at line 29 of file qcolortrc_p.h.

◆ QColorTrc() [2/3]

QColorTrc::QColorTrc ( const QColorTransferFunction fun)
inline

Definition at line 31 of file qcolortrc_p.h.

◆ QColorTrc() [3/3]

QColorTrc::QColorTrc ( const QColorTransferTable table)
inline

Definition at line 33 of file qcolortrc_p.h.

Member Function Documentation

◆ apply()

float QColorTrc::apply ( float  x) const
inline

Definition at line 50 of file qcolortrc_p.h.

Referenced by QColorTransform::map(), QColorTransform::map(), and QColorTransform::map().

+ Here is the caller graph for this function:

◆ applyExtended()

float QColorTrc::applyExtended ( float  x) const
inline

Definition at line 58 of file qcolortrc_p.h.

Referenced by loadPremultiplied< QRgbaFloat32 >(), loadUnpremultiplied< QRgbaFloat32 >(), QColorTransform::map(), QColorTransform::map(), and QColorTransform::map().

+ Here is the caller graph for this function:

◆ applyInverse()

float QColorTrc::applyInverse ( float  x) const
inline

Definition at line 68 of file qcolortrc_p.h.

Referenced by QColorTransform::map(), QColorTransform::map(), and QColorTransform::map().

+ Here is the caller graph for this function:

◆ applyInverseExtended()

float QColorTrc::applyInverseExtended ( float  x) const
inline

Definition at line 76 of file qcolortrc_p.h.

Referenced by QColorTransform::map(), QColorTransform::map(), QColorTransform::map(), storeOpaque(), storePremultiplied(), and storeUnpremultiplied().

+ Here is the caller graph for this function:

◆ isLinear()

bool QColorTrc::isLinear ( ) const
inline

Definition at line 42 of file qcolortrc_p.h.

Referenced by QIcc::writeColorTrc().

+ Here is the caller graph for this function:

◆ isValid()

bool QColorTrc::isValid ( ) const
inline

Definition at line 46 of file qcolortrc_p.h.

Referenced by QColorSpace::isValid(), QColorTransformPrivate::updateLutsIn(), and QColorTransformPrivate::updateLutsOut().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const QColorTrc o1,
const QColorTrc o2 
)
friend

Definition at line 95 of file qcolortrc_p.h.

◆ operator==

bool operator== ( const QColorTrc o1,
const QColorTrc o2 
)
friend

Definition at line 105 of file qcolortrc_p.h.

Member Data Documentation

◆ m_fun

◆ m_table

◆ m_type


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