[][src]Function qt_gui::q_pixel_format_cmyk_5a

pub unsafe fn q_pixel_format_cmyk_5a(
    channel_size: c_uchar,
    alfa: c_uchar,
    usage: AlphaUsage,
    position: AlphaPosition,
    type_int: TypeInterpretation
) -> CppBox<QPixelFormat>

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 = …, QPixelFormat::AlphaPosition position = …, QPixelFormat::TypeInterpretation typeInt = …).

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.