#[repr(C)]pub struct IWICColorTransform {
pub lpVtbl: *const IWICColorTransformVtbl,
}
Fields§
§lpVtbl: *const IWICColorTransformVtbl
Implementations§
Source§impl IWICColorTransform
impl IWICColorTransform
pub unsafe fn Initialize( &self, pIBitmapSource: *const IWICBitmapSource, pIContextSource: *const IWICColorContext, pIContextDest: *const IWICColorContext, pixelFmtDest: REFWICPixelFormatGUID, ) -> 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 IWICColorTransform
impl Deref for IWICColorTransform
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 IWICColorTransform
impl RefUnwindSafe for IWICColorTransform
impl !Send for IWICColorTransform
impl !Sync for IWICColorTransform
impl Unpin for IWICColorTransform
impl UnwindSafe for IWICColorTransform
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