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
QColorTrc Class Reference

#include <qcolortrc_p.h>

+ Collaboration diagram for QColorTrc:

Public Types

enum class  Type { Uninitialized , ParameterizedFunction , GenericFunction , Table }
 

Public Member Functions

 QColorTrc () noexcept
 
 QColorTrc (const QColorTransferFunction &fun)
 
 QColorTrc (const QColorTransferTable &table)
 
 QColorTrc (const QColorTransferGenericFunction &hdr)
 
 QColorTrc (QColorTransferFunction &&fun) noexcept
 
 QColorTrc (QColorTransferTable &&table) noexcept
 
 QColorTrc (QColorTransferGenericFunction &&hdr) noexcept
 
bool isIdentity () const
 
bool isValid () const
 
float apply (float x) const
 
float applyExtended (float x) const
 
float applyInverse (float x) const
 
float applyInverseExtended (float x) const
 
const QColorTransferTabletable () const
 
const QColorTransferFunctionfun () const
 
const QColorTransferGenericFunctionhdr () const
 
Type type () const noexcept
 

Public Attributes

Type m_type
 
QColorTransferFunction m_fun
 
QColorTransferTable m_table
 
QColorTransferGenericFunction m_hdr
 

Friends

bool comparesEqual (const QColorTrc &lhs, const QColorTrc &rhs)
 

Detailed Description

Definition at line 26 of file qcolortrc_p.h.

Member Enumeration Documentation

◆ Type

enum class QColorTrc::Type
strong
Enumerator
Uninitialized 
ParameterizedFunction 
GenericFunction 
Table 

Definition at line 37 of file qcolortrc_p.h.

Constructor & Destructor Documentation

◆ QColorTrc() [1/7]

QColorTrc::QColorTrc ( )
inlinenoexcept

Definition at line 29 of file qcolortrc_p.h.

◆ QColorTrc() [2/7]

QColorTrc::QColorTrc ( const QColorTransferFunction & fun)
inline

Definition at line 30 of file qcolortrc_p.h.

◆ QColorTrc() [3/7]

QColorTrc::QColorTrc ( const QColorTransferTable & table)
inline

Definition at line 31 of file qcolortrc_p.h.

◆ QColorTrc() [4/7]

QColorTrc::QColorTrc ( const QColorTransferGenericFunction & hdr)
inline

Definition at line 32 of file qcolortrc_p.h.

◆ QColorTrc() [5/7]

QColorTrc::QColorTrc ( QColorTransferFunction && fun)
inlinenoexcept

Definition at line 33 of file qcolortrc_p.h.

◆ QColorTrc() [6/7]

QColorTrc::QColorTrc ( QColorTransferTable && table)
inlinenoexcept

Definition at line 34 of file qcolortrc_p.h.

◆ QColorTrc() [7/7]

QColorTrc::QColorTrc ( QColorTransferGenericFunction && hdr)
inlinenoexcept

Definition at line 35 of file qcolortrc_p.h.

Member Function Documentation

◆ apply()

float QColorTrc::apply ( float x) const
inline

Definition at line 53 of file qcolortrc_p.h.

◆ applyExtended()

float QColorTrc::applyExtended ( float x) const
inline

Definition at line 67 of file qcolortrc_p.h.

◆ applyInverse()

float QColorTrc::applyInverse ( float x) const
inline

Definition at line 81 of file qcolortrc_p.h.

◆ applyInverseExtended()

float QColorTrc::applyInverseExtended ( float x) const
inline

Definition at line 95 of file qcolortrc_p.h.

◆ fun()

const QColorTransferFunction & QColorTrc::fun ( ) const
inline

Definition at line 111 of file qcolortrc_p.h.

◆ hdr()

const QColorTransferGenericFunction & QColorTrc::hdr ( ) const
inline

Definition at line 112 of file qcolortrc_p.h.

◆ isIdentity()

bool QColorTrc::isIdentity ( ) const
inline

Definition at line 44 of file qcolortrc_p.h.

◆ isValid()

bool QColorTrc::isValid ( ) const
inline

Definition at line 49 of file qcolortrc_p.h.

◆ table()

const QColorTransferTable & QColorTrc::table ( ) const
inline

Definition at line 110 of file qcolortrc_p.h.

◆ type()

Type QColorTrc::type ( ) const
inlinenoexcept

Definition at line 113 of file qcolortrc_p.h.

Friends And Related Symbol Documentation

◆ comparesEqual

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

Definition at line 125 of file qcolortrc_p.h.

Member Data Documentation

◆ m_fun

QColorTransferFunction QColorTrc::m_fun

Definition at line 120 of file qcolortrc_p.h.

◆ m_hdr

Definition at line 122 of file qcolortrc_p.h.

◆ m_table

QColorTransferTable QColorTrc::m_table

Definition at line 121 of file qcolortrc_p.h.

◆ m_type

Type QColorTrc::m_type

Definition at line 115 of file qcolortrc_p.h.


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