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

int qRed ( QRgb  rgb  )  [related]

Returns the red component of the ARGB quadruplet rgb.

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

Definition at line 35 of file qrgb.h.

Referenced by fromRgb(), fromRgba(), QColor(), qGray(), setRgb(), and setRgba().

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


Generated by  Doxygen 1.6.0   Back to index