Trait windows::Win32::Graphics::Imaging::IWICBitmapFrameEncode_Impl
pub trait IWICBitmapFrameEncode_Impl: Sized {
// Required methods
fn Initialize(&self, piencoderoptions: Option<&IPropertyBag2>) -> Result<()>;
fn SetSize(&self, uiwidth: u32, uiheight: u32) -> Result<()>;
fn SetResolution(&self, dpix: f64, dpiy: f64) -> Result<()>;
fn SetPixelFormat(&self, ppixelformat: *mut GUID) -> Result<()>;
fn SetColorContexts(
&self,
ccount: u32,
ppicolorcontext: *const Option<IWICColorContext>,
) -> Result<()>;
fn SetPalette(&self, pipalette: Option<&IWICPalette>) -> Result<()>;
fn SetThumbnail(&self, pithumbnail: Option<&IWICBitmapSource>) -> Result<()>;
fn WritePixels(
&self,
linecount: u32,
cbstride: u32,
cbbuffersize: u32,
pbpixels: *const u8,
) -> Result<()>;
fn WriteSource(
&self,
pibitmapsource: Option<&IWICBitmapSource>,
prc: *const WICRect,
) -> Result<()>;
fn Commit(&self) -> Result<()>;
fn GetMetadataQueryWriter(&self) -> Result<IWICMetadataQueryWriter>;
}
Required Methods§
fn Initialize(&self, piencoderoptions: Option<&IPropertyBag2>) -> Result<()>
fn SetSize(&self, uiwidth: u32, uiheight: u32) -> Result<()>
fn SetResolution(&self, dpix: f64, dpiy: f64) -> Result<()>
fn SetPixelFormat(&self, ppixelformat: *mut GUID) -> Result<()>
fn SetColorContexts( &self, ccount: u32, ppicolorcontext: *const Option<IWICColorContext>, ) -> Result<()>
fn SetPalette(&self, pipalette: Option<&IWICPalette>) -> Result<()>
fn SetThumbnail(&self, pithumbnail: Option<&IWICBitmapSource>) -> Result<()>
fn WritePixels( &self, linecount: u32, cbstride: u32, cbbuffersize: u32, pbpixels: *const u8, ) -> Result<()>
fn WriteSource( &self, pibitmapsource: Option<&IWICBitmapSource>, prc: *const WICRect, ) -> Result<()>
fn Commit(&self) -> Result<()>
fn GetMetadataQueryWriter(&self) -> Result<IWICMetadataQueryWriter>
Object Safety§
This trait is not object safe.