#include <qdrawhelper_p.h>
Definition at line 1561 of file qdrawhelper_p.h.
◆ quint18()
Definition at line 1564 of file qdrawhelper_p.h.
1569 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)
◆ operator quint32()
Definition at line 1575 of file qdrawhelper_p.h.
1578 const uchar g = (
data[1] << 4) | ((
data[0] & 0xc0) >> 4) | ((
data[1] & 0x0f) >> 2);
1580 return qRgb(r, g, b);
Q_GUI_EXPORT_INLINE QRgb qRgb(int r, int g, int b)
◆ data
The documentation for this class was generated from the following file: