Logo Search packages:      
Sourcecode: qt4-x11 version File versions

int qAlpha ( QRgb  rgba  )  [related]

Returns the alpha component of the ARGB quadruplet rgba.

See also:
qRgb(), QColor::alpha()

Definition at line 68 of file qrgb.h.

Referenced by fromRgba(), QColor(), and setRgba().

{ return ((rgb >> 24) & 0xff); }


Generated by  Doxygen 1.6.0   Back to index