Function qt_gui::q_alpha_uint

source ·
pub unsafe fn q_alpha_uint(rgb: c_uint) -> c_int
Expand description

Returns the alpha component of the ARGB quadruplet rgba.

Calls C++ function: int qAlpha(unsigned int rgb).

C++ documentation:

Returns the alpha component of the ARGB quadruplet rgba.

See also qRgb() and QColor::alpha().