#include <qdrawhelper_p.h>
Definition at line 749 of file qdrawhelper_p.h.
◆ qargb8565() [1/5]
◆ qargb8565() [2/5]
◆ qargb8565() [3/5]
Definition at line 822 of file qdrawhelper_p.h.
825 const int r =
qRed(v);
827 const int b =
qBlue(v);
828 data[1] = ((g << 3) & 0xe0) | (b >> 3);
829 data[2] = (r & 0xf8) | (g >> 5);
Q_GUI_EXPORT_INLINE int qAlpha(QRgb rgb)
Q_GUI_EXPORT_INLINE int qRed(QRgb rgb)
Q_GUI_EXPORT_INLINE int qBlue(QRgb rgb)
Q_GUI_EXPORT_INLINE int qGreen(QRgb rgb)
◆ qargb8565() [4/5]
◆ qargb8565() [5/5]
qargb8565::qargb8565 |
( |
const qrgb565 & |
v | ) |
|
|
inline |
◆ alpha() [1/2]
quint8 qargb8565::alpha |
( |
| ) |
const |
|
inline |
◆ alpha() [2/2]
Definition at line 769 of file qdrawhelper_p.h.
769 {
return (
a + 1) >> 3; }
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ byte_mul()
◆ hasAlpha()
◆ ialpha()
◆ operator quint16()
qargb8565::operator quint16 |
( |
| ) |
const |
|
inline |
◆ operator quint32()
qargb8565::operator quint32 |
( |
| ) |
const |
|
inline |
Definition at line 846 of file qdrawhelper_p.h.
849 const int a =
data[0];
850 const int r = (rgb & 0xf800);
851 const int g = (rgb & 0x07e0);
852 const int b = (rgb & 0x001f);
853 const int tr =
qMin(a, (r >> 8) | (r >> 13));
854 const int tg =
qMin(a, (g >> 3) | (g >> 9));
855 const int tb =
qMin(a, (b << 3) | (b >> 2));
Q_DECL_CONSTEXPR const T & qMin(const T &a, const T &b)
long ASN1_INTEGER_get ASN1_INTEGER * a
Q_GUI_EXPORT_INLINE QRgb qRgba(int r, int g, int b, int a)
◆ operator+()
◆ operator==()
bool qargb8565::operator== |
( |
const qargb8565 & |
v | ) |
const |
|
inline |
◆ rawValue()
quint32 qargb8565::rawValue |
( |
| ) |
const |
|
inline |
◆ rawValue16()
quint16 qargb8565::rawValue16 |
( |
| ) |
const |
|
inline |
◆ truncedAlpha()
◆ qrgb565
◆ data
The documentation for this class was generated from the following file: