#[repr(C)]pub struct IWICBitmapScaler {
pub lpVtbl: *const IWICBitmapScalerVtbl,
}
Fields§
§lpVtbl: *const IWICBitmapScalerVtbl
Implementations§
Source§impl IWICBitmapScaler
impl IWICBitmapScaler
pub unsafe fn Initialize( &self, pISource: *const IWICBitmapSource, uiWidth: UINT, uiHeight: UINT, mode: WICBitmapInterpolationMode, ) -> 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 IWICBitmapScaler
impl Deref for IWICBitmapScaler
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 IWICBitmapScaler
impl RefUnwindSafe for IWICBitmapScaler
impl !Send for IWICBitmapScaler
impl !Sync for IWICBitmapScaler
impl Unpin for IWICBitmapScaler
impl UnwindSafe for IWICBitmapScaler
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