pub unsafe fn q_pixel_format_hsl_1a(
    channel_size: c_uchar
) -> CppBox<QPixelFormat>
Expand description

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

Calls C++ function: QPixelFormat qPixelFormatHsl(unsigned char channelSize).

C++ documentation:

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

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

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