#[repr(C)]pub struct IWICFormatConverter {
pub lpVtbl: *const IWICFormatConverterVtbl,
}
Fields§
§lpVtbl: *const IWICFormatConverterVtbl
Implementations§
Source§impl IWICFormatConverter
impl IWICFormatConverter
pub unsafe fn Initialize( &self, pISource: *const IWICBitmapSource, dstFormat: REFWICPixelFormatGUID, dither: WICBitmapDitherType, pIPalette: *const IWICPalette, alphaThresholdPercent: c_double, paletteTranslate: WICBitmapPaletteType, ) -> HRESULT
pub unsafe fn CanConvert( &self, srcPixelFormat: REFWICPixelFormatGUID, dstPixelFormat: REFWICPixelFormatGUID, pfCanConvert: *mut BOOL, ) -> HRESULT
Methods from Deref<Target = IWICBitmapSource>§
pub unsafe fn GetSize( &self, puiWidth: *mut UINT, puiHeight: *mut UINT, ) -> HRESULT
pub unsafe fn GetPixelFormat( &self, pPixelFormat: *mut WICPixelFormatGUID, ) -> HRESULT
pub unsafe fn GetResolution( &self, pDpiX: *mut c_double, pDpiY: *mut c_double, ) -> HRESULT
pub unsafe fn CopyPalette(&self, pIPalette: *mut IWICPalette) -> HRESULT
pub unsafe fn CopyPixels( &self, prc: *const WICRect, cbStride: UINT, cbBufferSize: UINT, pbBuffer: *mut BYTE, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IWICFormatConverter
impl Deref for IWICFormatConverter
Source§type Target = IWICBitmapSource
type Target = IWICBitmapSource
The resulting type after dereferencing.
Source§fn deref(&self) -> &IWICBitmapSource
fn deref(&self) -> &IWICBitmapSource
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IWICFormatConverter
impl RefUnwindSafe for IWICFormatConverter
impl !Send for IWICFormatConverter
impl !Sync for IWICFormatConverter
impl Unpin for IWICFormatConverter
impl UnwindSafe for IWICFormatConverter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more