#[repr(C)]pub struct IWICPlanarFormatConverter {
pub lpVtbl: *const IWICPlanarFormatConverterVtbl,
}
Fields§
§lpVtbl: *const IWICPlanarFormatConverterVtbl
Implementations§
Source§impl IWICPlanarFormatConverter
impl IWICPlanarFormatConverter
pub unsafe fn Initialize( &self, ppPlanes: *const *const IWICBitmapSource, cPlanes: UINT, dstFormat: REFWICPixelFormatGUID, dither: WICBitmapDitherType, pIPalette: *const IWICPalette, alphaThresholdPercent: c_double, paletteTranslate: WICBitmapPaletteType, ) -> HRESULT
pub unsafe fn CanConvert( &self, pSrcPixelFormats: *const WICPixelFormatGUID, cSrcPlanes: UINT, 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 IWICPlanarFormatConverter
impl Deref for IWICPlanarFormatConverter
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 IWICPlanarFormatConverter
impl RefUnwindSafe for IWICPlanarFormatConverter
impl !Send for IWICPlanarFormatConverter
impl !Sync for IWICPlanarFormatConverter
impl Unpin for IWICPlanarFormatConverter
impl UnwindSafe for IWICPlanarFormatConverter
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