pub trait IWICFormatConverter_Impl: Sized + IWICBitmapSource_Impl {
    // Required methods
    fn Initialize(
        &self,
        pisource: Option<&IWICBitmapSource>,
        dstformat: *const GUID,
        dither: WICBitmapDitherType,
        pipalette: Option<&IWICPalette>,
        alphathresholdpercent: f64,
        palettetranslate: WICBitmapPaletteType,
    ) -> Result<()>;
    fn CanConvert(
        &self,
        srcpixelformat: *const GUID,
        dstpixelformat: *const GUID,
    ) -> Result<BOOL>;
}

Required Methods§

fn Initialize( &self, pisource: Option<&IWICBitmapSource>, dstformat: *const GUID, dither: WICBitmapDitherType, pipalette: Option<&IWICPalette>, alphathresholdpercent: f64, palettetranslate: WICBitmapPaletteType, ) -> Result<()>

fn CanConvert( &self, srcpixelformat: *const GUID, dstpixelformat: *const GUID, ) -> Result<BOOL>

Object Safety§

This trait is not object safe.

Implementors§