#include <qdrawhelper_p.h>
Definition at line 1627 of file qdrawhelper_p.h.
◆ qrgb444() [1/3]
◆ qrgb444() [2/3]
Definition at line 1712 of file qdrawhelper_p.h.
1715 const int r =
qRed(v) << 4;
1717 const int b =
qBlue(v) >> 4;
Q_GUI_EXPORT_INLINE int qRed(QRgb rgb)
Q_GUI_EXPORT_INLINE int qBlue(QRgb rgb)
Q_GUI_EXPORT_INLINE int qGreen(QRgb rgb)
◆ qrgb444() [3/3]
◆ alpha() [1/2]
quint8 qrgb444::alpha |
( |
| ) |
const |
|
inline |
◆ alpha() [2/2]
Definition at line 1642 of file qdrawhelper_p.h.
1642 {
return (
a + 1) >> 4; }
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ byte_mul()
Definition at line 1752 of file qdrawhelper_p.h.
1755 t |= (((
data & 0x0f0f) *
a) >> 4) & 0x0f0f;
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ hasAlpha()
◆ ialpha()
◆ operator quint32()
qrgb444::operator quint32 |
( |
| ) |
const |
|
inline |
Definition at line 1727 of file qdrawhelper_p.h.
1729 const int r = (
data & 0x0f00);
1730 const int g = (
data & 0x00f0);
1731 const int b = (
data & 0x000f);
1732 const int tr = (r >> 4) | (r >> 8);
1733 const int tg = g | (g >> 4);
1734 const int tb = (b << 4) | b;
1736 return qRgb(tr, tg, tb);
Q_GUI_EXPORT_INLINE QRgb qRgb(int r, int g, int b)
◆ operator quint8()
qrgb444::operator quint8 |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool qrgb444::operator!= |
( |
const qrgb444 & |
v | ) |
const |
|
inline |
◆ operator+()
◆ operator==()
bool qrgb444::operator== |
( |
const qrgb444 & |
v | ) |
const |
|
inline |
◆ rawValue()
quint16 qrgb444::rawValue |
( |
| ) |
const |
|
inline |
◆ truncedAlpha()
◆ qargb4444
◆ data
The documentation for this class was generated from the following file: