[][src]Function qt_gui::q_pixel_format_yuv_3a

pub unsafe fn q_pixel_format_yuv_3a(
    layout: YUVLayout,
    alfa: c_uchar,
    usage: AlphaUsage
) -> CppBox<QPixelFormat>

Constructor function for creating a QPixelFormat describing a YUV format with yuvLayout. alphaSize describes the size of a potential alpha channel and is position is described with alphaPosition. The "first" "second" .. "fifth" channels are all set to 0. alphaUsage premultiplied typeInterpretation and byteOrder will work as with other formats.

Calls C++ function: QPixelFormat qPixelFormatYuv(QPixelFormat::YUVLayout layout, unsigned char alfa = …, QPixelFormat::AlphaUsage usage = …).

C++ documentation:

Constructor function for creating a QPixelFormat describing a YUV format with yuvLayout. alphaSize describes the size of a potential alpha channel and is position is described with alphaPosition. The "first" "second" .. "fifth" channels are all set to 0. alphaUsage premultiplied typeInterpretation and byteOrder will work as with other formats.