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

Constructor function for creating CMYK formats. The channel count will be 4 or 5 depending on if alphaSize is bigger than zero or not. The CMYK color channels will all be set to the value of channelSize.

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

C++ documentation:

Constructor function for creating CMYK formats. The channel count will be 4 or 5 depending on if alphaSize is bigger than zero or not. The CMYK color channels will all be set to the value of channelSize.

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

See also QPixelFormat::TypeInterpretation.