#include <qdrawhelper_p.h>
Definition at line 1596 of file qdrawhelper_p.h.
◆ qargb4444() [1/4]
◆ qargb4444() [2/4]
◆ qargb4444() [3/4]
Definition at line 1658 of file qdrawhelper_p.h.
1663 const int r =
qRed(v) << 4;
1665 const int b =
qBlue(v) >> 4;
1667 data = a | r | g | b;
Q_GUI_EXPORT_INLINE int qAlpha(QRgb rgb)
long ASN1_INTEGER_get ASN1_INTEGER * a
Q_GUI_EXPORT_INLINE int qRed(QRgb rgb)
Q_GUI_EXPORT_INLINE int qBlue(QRgb rgb)
Q_GUI_EXPORT_INLINE int qGreen(QRgb rgb)
◆ qargb4444() [4/4]
qargb4444::qargb4444 |
( |
const qrgb444 & |
v | ) |
|
|
inline |
◆ alpha() [1/2]
quint8 qargb4444::alpha |
( |
| ) |
const |
|
inline |
◆ alpha() [2/2]
Definition at line 1613 of file qdrawhelper_p.h.
1613 {
return (
a + 1) >> 4; }
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ byte_mul()
Definition at line 1702 of file qdrawhelper_p.h.
1705 t |= (((
data & 0x0f0f) *
a) >> 4) & 0x0f0f;
long ASN1_INTEGER_get ASN1_INTEGER * a
◆ hasAlpha()
◆ ialpha()
◆ operator quint32()
qargb4444::operator quint32 |
( |
| ) |
const |
|
inline |
Definition at line 1675 of file qdrawhelper_p.h.
1677 const int a = (
data & 0xf000);
1678 const int r = (
data & 0x0f00);
1679 const int g = (
data & 0x00f0);
1680 const int b = (
data & 0x000f);
1681 const int ta = (a >> 8) | (a >> 12);
1682 const int tr = (r >> 4) | (r >> 8);
1683 const int tg = g | (g >> 4);
1684 const int tb = (b << 4) | b;
1686 return qRgba(tr, tg, tb, ta);
long ASN1_INTEGER_get ASN1_INTEGER * a
Q_GUI_EXPORT_INLINE QRgb qRgba(int r, int g, int b, int a)
◆ operator quint8()
qargb4444::operator quint8 |
( |
| ) |
const |
|
inline |
◆ operator+()
◆ operator==()
bool qargb4444::operator== |
( |
const qargb4444 & |
v | ) |
const |
|
inline |
◆ rawValue()
quint16 qargb4444::rawValue |
( |
| ) |
const |
|
inline |
◆ truncedAlpha()
◆ qrgb444
◆ data
The documentation for this class was generated from the following file: