#include <qdrawhelper_p.h>
Definition at line 1239 of file qdrawhelper_p.h.
◆ qrgb666() [1/3]
◆ qrgb666() [2/3]
Definition at line 1272 of file qdrawhelper_p.h.
1277 const uint p = (b >> 2) | ((g >> 2) << 6) | ((r >> 2) << 12);
Q_GUI_EXPORT_INLINE int qRed(QRgb rgb)
Q_GUI_EXPORT_INLINE int qBlue(QRgb rgb)
Q_GUI_EXPORT_INLINE int qGreen(QRgb rgb)
◆ qrgb666() [3/3]
◆ alpha() [1/2]
quint8 qrgb666::alpha |
( |
| ) |
const |
|
inline |
◆ alpha() [2/2]
Definition at line 1252 of file qdrawhelper_p.h.
1252 {
return (
a + 1) >> 2; }
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ byte_mul()
Definition at line 1310 of file qdrawhelper_p.h.
1313 const quint32 t = ((((x & 0x03f03f) *
a) >> 6) & 0x03f03f) |
1314 ((((x & 0x000fc0) *
a) >> 6) & 0x000fc0);
1317 r.
data[0] = t & 0xff;
1318 r.
data[1] = (t >> 8) & 0xff;
1319 r.
data[2] = (t >> 16) & 0xff;
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ hasAlpha()
◆ ialpha()
Definition at line 1253 of file qdrawhelper_p.h.
1253 {
return (255 -
a + 1) >> 2; }
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ operator quint32()
qrgb666::operator quint32 |
( |
| ) |
const |
|
inline |
Definition at line 1290 of file qdrawhelper_p.h.
1293 const uchar g = (
data[1] << 4) | ((
data[0] & 0xc0) >> 4) | ((
data[1] & 0x0f) >> 2);
1295 return qRgb(r, g, b);
Q_GUI_EXPORT_INLINE QRgb qRgb(int r, int g, int b)
◆ operator!=()
bool qrgb666::operator!= |
( |
const qrgb666 & |
v | ) |
const |
|
inline |
◆ operator+()
◆ operator==()
bool qrgb666::operator== |
( |
const qrgb666 & |
v | ) |
const |
|
inline |
◆ rawValue()
quint32 qrgb666::rawValue |
( |
| ) |
const |
|
inline |
◆ truncedAlpha()
◆ qargb6666
◆ data
The documentation for this class was generated from the following file: