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

#include <qdrawhelper_p.h>

Public Functions

bool operator== (const qbgr565 &v) const
 
 qbgr565 (quint16 v)
 

Properties

quint16 data
 

Detailed Description

Definition at line 960 of file qdrawhelper_p.h.

Constructors and Destructors

◆ qbgr565()

qbgr565::qbgr565 ( quint16  v)
inline

Definition at line 963 of file qdrawhelper_p.h.

964  {
965  data = ((v & 0x001f) << 11) |
966  (v & 0x07e0) |
967  ((v & 0xf800) >> 11);
968  }
quint16 data

Functions

◆ operator==()

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

Definition at line 970 of file qdrawhelper_p.h.

971  {
972  return data == v.data;
973  }
quint16 data

Properties

◆ data

quint16 qbgr565::data
private

Definition at line 976 of file qdrawhelper_p.h.

Referenced by operator==().


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