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>.
|
#include <qcolortransfertable_p.h>
Public Types | |
enum | Type : uint8_t { TwoWay = 0 , OneWay } |
Public Member Functions | |
QColorTransferTable () noexcept=default | |
QColorTransferTable (uint32_t size, const QList< uint8_t > &table, Type type=TwoWay) noexcept | |
QColorTransferTable (uint32_t size, const QList< uint16_t > &table, Type type=TwoWay) noexcept | |
bool | isEmpty () const noexcept |
bool | isIdentity () const |
bool | checkValidity () const |
bool | checkInvertibility () const |
float | apply (float x) const |
float | applyInverse (float x, float resultLargerThan=0.0f) const |
bool | asColorTransferFunction (QColorTransferFunction *transferFn) |
Public Attributes | |
Type | m_type = TwoWay |
uint32_t | m_tableSize = 0 |
QList< uint8_t > | m_table8 |
QList< uint16_t > | m_table16 |
Friends | |
bool | operator!= (const QColorTransferTable &t1, const QColorTransferTable &t2) |
bool | operator== (const QColorTransferTable &t1, const QColorTransferTable &t2) |
Definition at line 29 of file qcolortransfertable_p.h.
enum QColorTransferTable::Type : uint8_t |
Enumerator | |
---|---|
TwoWay | |
OneWay |
Definition at line 32 of file qcolortransfertable_p.h.
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 37 of file qcolortransfertable_p.h.
References Q_ASSERT.
|
inlinenoexcept |
Definition at line 42 of file qcolortransfertable_p.h.
References Q_ASSERT.
|
inline |
Definition at line 98 of file qcolortransfertable_p.h.
|
inline |
Definition at line 115 of file qcolortransfertable_p.h.
References Q_ASSERT.
|
inline |
Definition at line 130 of file qcolortransfertable_p.h.
References QColorTransferFunction::fromSRgb(), and Q_ASSERT.
|
inline |
Definition at line 76 of file qcolortransfertable_p.h.
References i.
|
inline |
Definition at line 64 of file qcolortransfertable_p.h.
|
inlinenoexcept |
Definition at line 48 of file qcolortransfertable_p.h.
|
inline |
Definition at line 53 of file qcolortransfertable_p.h.
|
friend |
Definition at line 210 of file qcolortransfertable_p.h.
|
friend |
Definition at line 235 of file qcolortransfertable_p.h.
QList<uint16_t> QColorTransferTable::m_table16 |
Definition at line 189 of file qcolortransfertable_p.h.
Referenced by QIcc::writeColorTrc().
QList<uint8_t> QColorTransferTable::m_table8 |
Definition at line 188 of file qcolortransfertable_p.h.
Referenced by QIcc::writeColorTrc().
uint32_t QColorTransferTable::m_tableSize = 0 |
Definition at line 187 of file qcolortransfertable_p.h.
Referenced by QIcc::writeColorTrc().
Definition at line 186 of file qcolortransfertable_p.h.