Trait windows::Win32::Graphics::Imaging::IWICBitmapSource_Impl
pub trait IWICBitmapSource_Impl: Sized {
// Required methods
fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> Result<()>;
fn GetPixelFormat(&self) -> Result<GUID>;
fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> Result<()>;
fn CopyPalette(&self, pipalette: Option<&IWICPalette>) -> Result<()>;
fn CopyPixels(
&self,
prc: *const WICRect,
cbstride: u32,
cbbuffersize: u32,
pbbuffer: *mut u8,
) -> Result<()>;
}
Required Methods§
fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> Result<()>
fn GetPixelFormat(&self) -> Result<GUID>
fn GetResolution(&self, pdpix: *mut f64, pdpiy: *mut f64) -> Result<()>
fn CopyPalette(&self, pipalette: Option<&IWICPalette>) -> Result<()>
fn CopyPixels( &self, prc: *const WICRect, cbstride: u32, cbbuffersize: u32, pbbuffer: *mut u8, ) -> Result<()>
Object Safety§
This trait is not object safe.