#include <qdrawhelper_p.h>
Definition at line 981 of file qdrawhelper_p.h.
◆ qargb8555() [1/5]
◆ qargb8555() [2/5]
Definition at line 1121 of file qdrawhelper_p.h.
1125 const int r =
qRed(v);
1127 const int b =
qBlue(v);
1128 data[1] = ((g << 2) & 0xe0) | (b >> 3);
1129 data[2] = ((r >> 1) & 0x7c) | (g >> 6);
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)
◆ qargb8555() [3/5]
Definition at line 1133 of file qdrawhelper_p.h.
1136 const int r =
qRed(v);
1138 const int b =
qBlue(v);
1139 data[1] = ((g << 2) & 0xe0) | (b >> 3);
1140 data[2] = ((r >> 1) & 0x7c) | (g >> 6);
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)
◆ qargb8555() [4/5]
◆ qargb8555() [5/5]
qargb8555::qargb8555 |
( |
const qrgb555 & |
v | ) |
|
|
inline |
◆ alpha() [1/2]
quint8 qargb8555::alpha |
( |
| ) |
const |
|
inline |
◆ alpha() [2/2]
Definition at line 996 of file qdrawhelper_p.h.
996 {
return (
a + 1) >> 3; }
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ byte_mul()
Definition at line 1193 of file qdrawhelper_p.h.
1199 quint16 t = (((x & 0x3e0) *
a) >> 5) & 0x03e0;
1200 t |= (((x & 0x7c1f) *
a) >> 5) & 0x7c1f;
1201 result.
data[1] = t & 0xff;
1202 result.
data[2] = t >> 8;
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ hasAlpha()
◆ ialpha()
◆ operator quint32()
qargb8555::operator quint32 |
( |
| ) |
const |
|
inline |
Definition at line 1157 of file qdrawhelper_p.h.
1160 const int r = (rgb & 0x7c00);
1161 const int g = (rgb & 0x03e0);
1162 const int b = (rgb & 0x001f);
1163 const int tr = (r >> 7) | (r >> 12);
1164 const int tg = (g >> 2) | (g >> 7);
1165 const int tb = (b << 3) | (b >> 2);
Q_GUI_EXPORT_INLINE QRgb qRgba(int r, int g, int b, int a)
◆ operator+()
◆ operator==()
bool qargb8555::operator== |
( |
const qargb8555 & |
v | ) |
const |
|
inline |
◆ rawValue()
quint32 qargb8555::rawValue |
( |
| ) |
const |
|
inline |
◆ truncedAlpha()
◆ qrgb555
◆ data
The documentation for this class was generated from the following file: