[][src]Function qt_gui::q_premultiply_uint

pub unsafe fn q_premultiply_uint(x: c_uint) -> c_uint

Converts an unpremultiplied ARGB quadruplet rgb into a premultiplied ARGB quadruplet.

Calls C++ function: unsigned int qPremultiply(unsigned int x).

C++ documentation:

Converts an unpremultiplied ARGB quadruplet rgb into a premultiplied ARGB quadruplet.

This function was introduced in Qt 5.3.

See also qUnpremultiply().