Qt 4.8
Public Functions | Properties | List of all members
qrgb_gl_rgba Struct Reference

Public Functions

 operator quint32 () const
 
 qrgb_gl_rgba (quint32 v)
 

Properties

quint32 data
 

Detailed Description

Definition at line 575 of file qmemrotate.cpp.

Constructors and Destructors

◆ qrgb_gl_rgba()

qrgb_gl_rgba::qrgb_gl_rgba ( quint32  v)
inline

Definition at line 578 of file qmemrotate.cpp.

578  {
579  if (QSysInfo::ByteOrder == QSysInfo::LittleEndian)
580  data = ((v << 16) & 0xff0000) | ((v >> 16) & 0xff) | (v & 0xff00ff00);
581  else
582  data = (v << 8) | ((v >> 24) & 0xff);
583  }
quint32 data
Definition: qmemrotate.cpp:588

Functions

◆ operator quint32()

qrgb_gl_rgba::operator quint32 ( ) const
inline

Definition at line 585 of file qmemrotate.cpp.

585 { return data; }
quint32 data
Definition: qmemrotate.cpp:588

Properties

◆ data

quint32 qrgb_gl_rgba::data
private

Definition at line 588 of file qmemrotate.cpp.

Referenced by operator quint32(), and qrgb_gl_rgba().


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