Qt 4.8
Public Functions | Properties | List of all members
qabgr8888 Class Reference

#include <qdrawhelper_p.h>

Public Functions

bool operator== (const qabgr8888 &v) const
 
 qabgr8888 (quint32 v)
 

Properties

quint32 data
 

Detailed Description

Definition at line 733 of file qdrawhelper_p.h.

Constructors and Destructors

◆ qabgr8888()

qabgr8888::qabgr8888 ( quint32  v)
inline

Definition at line 736 of file qdrawhelper_p.h.

737  {
738  data = qRgba(qBlue(v), qGreen(v), qRed(v), qAlpha(v));
739  }
quint32 data
Q_GUI_EXPORT_INLINE int qAlpha(QRgb rgb)
Definition: qrgb.h:66
Q_GUI_EXPORT_INLINE int qRed(QRgb rgb)
Definition: qrgb.h:57
Q_GUI_EXPORT_INLINE QRgb qRgba(int r, int g, int b, int a)
Definition: qrgb.h:72
Q_GUI_EXPORT_INLINE int qBlue(QRgb rgb)
Definition: qrgb.h:63
Q_GUI_EXPORT_INLINE int qGreen(QRgb rgb)
Definition: qrgb.h:60

Functions

◆ operator==()

bool qabgr8888::operator== ( const qabgr8888 v) const
inline

Definition at line 741 of file qdrawhelper_p.h.

741 { return data == v.data; }
quint32 data

Properties

◆ data

quint32 qabgr8888::data
private

Definition at line 744 of file qdrawhelper_p.h.

Referenced by operator==().


The documentation for this class was generated from the following file: