[][src]Function qt_gui::q_pixel_format_hsv_2a

pub unsafe fn q_pixel_format_hsv_2a(
    channel_size: c_uchar,
    alfa: c_uchar
) -> CppBox<QPixelFormat>

Constructor function for creating HSV formats. The channel count will be 3 or 4 depending on if alphaSize is bigger than 0.

Calls C++ function: QPixelFormat qPixelFormatHsv(unsigned char channelSize, unsigned char alfa = …).

C++ documentation:

Constructor function for creating HSV formats. The channel count will be 3 or 4 depending on if alphaSize is bigger than 0.

channelSize will set the hueSize saturationSize and brightnessSize to the same value.

alphaUsage alphaPosition and typeInterpretation are all accessible with the accessors with the same name.