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

#include <qdrawhelper_p.h>

Public Functions

bool operator== (const qbgr555 &v) const
 
 qbgr555 (quint32 v)
 
 qbgr555 (qrgb555 v)
 

Properties

quint16 data
 

Detailed Description

Definition at line 1100 of file qdrawhelper_p.h.

Constructors and Destructors

◆ qbgr555() [1/2]

qbgr555::qbgr555 ( quint32  v)
inline

Definition at line 1103 of file qdrawhelper_p.h.

Referenced by qbgr555().

1103 { *this = qbgr555(qrgb555(v)); }
qbgr555(quint32 v)

◆ qbgr555() [2/2]

qbgr555::qbgr555 ( qrgb555  v)
inline

Definition at line 1105 of file qdrawhelper_p.h.

1106  {
1107  data = ((v.data & 0x001f) << 10) |
1108  (v.data & 0x03e0) |
1109  ((v.data & 0x7c00) >> 10);
1110  }
quint16 data
quint16 data

Functions

◆ operator==()

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

Definition at line 1112 of file qdrawhelper_p.h.

1113  {
1114  return data == v.data;
1115  }
quint16 data

Properties

◆ data

quint16 qbgr555::data
private

Definition at line 1118 of file qdrawhelper_p.h.

Referenced by operator==().


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