pub unsafe fn q_pixel_format_cmyk_3a(
    channel_size: c_uchar,
    alfa: c_uchar,
    usage: AlphaUsage
) -> 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, unsigned char alfa = …, QPixelFormat::AlphaUsage usage = …).

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.