![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrgbafloat.h>
Public Types | |
using | Type = F |
using | FastType = float |
Public Member Functions | |
constexpr bool | isOpaque () const |
constexpr bool | isTransparent () const |
constexpr float | red () const |
constexpr float | green () const |
constexpr float | blue () const |
constexpr float | alpha () const |
void | setRed (float _red) |
void | setGreen (float _green) |
void | setBlue (float _blue) |
void | setAlpha (float _alpha) |
constexpr float | redNormalized () const |
constexpr float | greenNormalized () const |
constexpr float | blueNormalized () const |
constexpr float | alphaNormalized () const |
constexpr quint8 | red8 () const |
constexpr quint8 | green8 () const |
constexpr quint8 | blue8 () const |
constexpr quint8 | alpha8 () const |
constexpr uint | toArgb32 () const |
constexpr quint16 | red16 () const |
constexpr quint16 | green16 () const |
constexpr quint16 | blue16 () const |
constexpr quint16 | alpha16 () const |
Q_ALWAYS_INLINE constexpr QRgbaFloat | premultiplied () const |
Q_ALWAYS_INLINE constexpr QRgbaFloat | unpremultiplied () const |
constexpr bool | operator== (QRgbaFloat f) const |
constexpr bool | operator!= (QRgbaFloat f) const |
Static Public Member Functions | |
static constexpr QRgbaFloat | fromRgba64 (quint16 red, quint16 green, quint16 blue, quint16 alpha) |
static constexpr QRgbaFloat | fromRgba (quint8 red, quint8 green, quint8 blue, quint8 alpha) |
static constexpr QRgbaFloat | fromArgb32 (uint rgb) |
Public Attributes | |
F | r |
F | g |
F | b |
F | a |
Definition at line 17 of file qrgbafloat.h.
using QRgbaFloat< F >::FastType = float |
Definition at line 27 of file qrgbafloat.h.
using QRgbaFloat< F >::Type = F |
Definition at line 21 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 67 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 90 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 81 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 76 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 66 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 89 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 80 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 75 of file qrgbafloat.h.
|
inlinestaticconstexpr |
Definition at line 56 of file qrgbafloat.h.
|
inlinestaticconstexpr |
Definition at line 46 of file qrgbafloat.h.
|
inlinestaticconstexpr |
Definition at line 35 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 65 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 88 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 79 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 74 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 61 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 62 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 109 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 105 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 92 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 64 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 87 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 78 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 73 of file qrgbafloat.h.
|
inline |
Definition at line 71 of file qrgbafloat.h.
|
inline |
Definition at line 70 of file qrgbafloat.h.
|
inline |
Definition at line 69 of file qrgbafloat.h.
|
inline |
Definition at line 68 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 82 of file qrgbafloat.h.
|
inlineconstexpr |
Definition at line 96 of file qrgbafloat.h.
F QRgbaFloat< F >::a |
Definition at line 32 of file qrgbafloat.h.
F QRgbaFloat< F >::b |
Definition at line 31 of file qrgbafloat.h.
F QRgbaFloat< F >::g |
Definition at line 30 of file qrgbafloat.h.
F QRgbaFloat< F >::r |
Definition at line 29 of file qrgbafloat.h.