Struct winapi::windowscodecs::IWICFormatConverter [] [src]

pub struct IWICFormatConverter {
    pub lpVtbl: *const IWICFormatConverterVtbl,
}

Fields

lpVtbl: *const IWICFormatConverterVtbl

Methods

impl IWICFormatConverter
[src]

unsafe fn Initialize(&mut self, pISource: *mut IWICBitmapSource, dstFormat: REFWICPixelFormatGUID, dither: WICBitmapDitherType, pIPalette: *mut IWICPalette, alphaThreasholdPercent: f64, paletteTranslate: WICBitmapPaletteType) -> HRESULT

unsafe fn CanConvert(&mut self, srcPixelFormat: REFWICPixelFormatGUID, dstPixelFormat: REFWICPixelFormatGUID, pfCanConvert: *mut BOOL) -> HRESULT

Methods from Deref<Target=IWICBitmapSource>

unsafe fn GetSize(&mut self, puiWidth: *mut UINT, puiHeight: UINT) -> HRESULT

unsafe fn GetPixelFormat(&mut self, pPixelFormat: *mut WICPixelFormatGUID) -> HRESULT

unsafe fn GetResolution(&mut self, pDpiX: *mut f64, pDpiY: *mut f64) -> HRESULT

unsafe fn CopyPalette(&mut self, pIPalette: *mut IWICPalette) -> HRESULT

unsafe fn CopyPixels(&mut self, prc: *const WICRect, cbStride: UINT, cbBufferSize: UINT, pbBuffer: *mut BYTE) -> HRESULT

Trait Implementations

impl Debug for IWICFormatConverter
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IWICFormatConverter
[src]

type Target = IWICBitmapSource

The resulting type after dereferencing

fn deref(&self) -> &IWICBitmapSource

The method called to dereference a value

impl DerefMut for IWICFormatConverter
[src]

fn deref_mut(&mut self) -> &mut IWICBitmapSource

The method called to mutably dereference a value