Trait windows::Win32::Graphics::Imaging::IWICImagingFactory_Impl
pub trait IWICImagingFactory_Impl: Sized {
Show 25 methods
// Required methods
fn CreateDecoderFromFilename(
&self,
wzfilename: &PCWSTR,
pguidvendor: *const GUID,
dwdesiredaccess: GENERIC_ACCESS_RIGHTS,
metadataoptions: WICDecodeOptions,
) -> Result<IWICBitmapDecoder>;
fn CreateDecoderFromStream(
&self,
pistream: Option<&IStream>,
pguidvendor: *const GUID,
metadataoptions: WICDecodeOptions,
) -> Result<IWICBitmapDecoder>;
fn CreateDecoderFromFileHandle(
&self,
hfile: usize,
pguidvendor: *const GUID,
metadataoptions: WICDecodeOptions,
) -> Result<IWICBitmapDecoder>;
fn CreateComponentInfo(
&self,
clsidcomponent: *const GUID,
) -> Result<IWICComponentInfo>;
fn CreateDecoder(
&self,
guidcontainerformat: *const GUID,
pguidvendor: *const GUID,
) -> Result<IWICBitmapDecoder>;
fn CreateEncoder(
&self,
guidcontainerformat: *const GUID,
pguidvendor: *const GUID,
) -> Result<IWICBitmapEncoder>;
fn CreatePalette(&self) -> Result<IWICPalette>;
fn CreateFormatConverter(&self) -> Result<IWICFormatConverter>;
fn CreateBitmapScaler(&self) -> Result<IWICBitmapScaler>;
fn CreateBitmapClipper(&self) -> Result<IWICBitmapClipper>;
fn CreateBitmapFlipRotator(&self) -> Result<IWICBitmapFlipRotator>;
fn CreateStream(&self) -> Result<IWICStream>;
fn CreateColorContext(&self) -> Result<IWICColorContext>;
fn CreateColorTransformer(&self) -> Result<IWICColorTransform>;
fn CreateBitmap(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *const GUID,
option: WICBitmapCreateCacheOption,
) -> Result<IWICBitmap>;
fn CreateBitmapFromSource(
&self,
pibitmapsource: Option<&IWICBitmapSource>,
option: WICBitmapCreateCacheOption,
) -> Result<IWICBitmap>;
fn CreateBitmapFromSourceRect(
&self,
pibitmapsource: Option<&IWICBitmapSource>,
x: u32,
y: u32,
width: u32,
height: u32,
) -> Result<IWICBitmap>;
fn CreateBitmapFromMemory(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *const GUID,
cbstride: u32,
cbbuffersize: u32,
pbbuffer: *const u8,
) -> Result<IWICBitmap>;
fn CreateBitmapFromHBITMAP(
&self,
hbitmap: HBITMAP,
hpalette: HPALETTE,
options: WICBitmapAlphaChannelOption,
) -> Result<IWICBitmap>;
fn CreateBitmapFromHICON(&self, hicon: HICON) -> Result<IWICBitmap>;
fn CreateComponentEnumerator(
&self,
componenttypes: u32,
options: u32,
) -> Result<IEnumUnknown>;
fn CreateFastMetadataEncoderFromDecoder(
&self,
pidecoder: Option<&IWICBitmapDecoder>,
) -> Result<IWICFastMetadataEncoder>;
fn CreateFastMetadataEncoderFromFrameDecode(
&self,
piframedecoder: Option<&IWICBitmapFrameDecode>,
) -> Result<IWICFastMetadataEncoder>;
fn CreateQueryWriter(
&self,
guidmetadataformat: *const GUID,
pguidvendor: *const GUID,
) -> Result<IWICMetadataQueryWriter>;
fn CreateQueryWriterFromReader(
&self,
piqueryreader: Option<&IWICMetadataQueryReader>,
pguidvendor: *const GUID,
) -> Result<IWICMetadataQueryWriter>;
}
Required Methods§
fn CreateDecoderFromFilename( &self, wzfilename: &PCWSTR, pguidvendor: *const GUID, dwdesiredaccess: GENERIC_ACCESS_RIGHTS, metadataoptions: WICDecodeOptions, ) -> Result<IWICBitmapDecoder>
fn CreateDecoderFromStream( &self, pistream: Option<&IStream>, pguidvendor: *const GUID, metadataoptions: WICDecodeOptions, ) -> Result<IWICBitmapDecoder>
fn CreateDecoderFromFileHandle( &self, hfile: usize, pguidvendor: *const GUID, metadataoptions: WICDecodeOptions, ) -> Result<IWICBitmapDecoder>
fn CreateComponentInfo( &self, clsidcomponent: *const GUID, ) -> Result<IWICComponentInfo>
fn CreateDecoder( &self, guidcontainerformat: *const GUID, pguidvendor: *const GUID, ) -> Result<IWICBitmapDecoder>
fn CreateEncoder( &self, guidcontainerformat: *const GUID, pguidvendor: *const GUID, ) -> Result<IWICBitmapEncoder>
fn CreatePalette(&self) -> Result<IWICPalette>
fn CreateFormatConverter(&self) -> Result<IWICFormatConverter>
fn CreateBitmapScaler(&self) -> Result<IWICBitmapScaler>
fn CreateBitmapClipper(&self) -> Result<IWICBitmapClipper>
fn CreateBitmapFlipRotator(&self) -> Result<IWICBitmapFlipRotator>
fn CreateStream(&self) -> Result<IWICStream>
fn CreateColorContext(&self) -> Result<IWICColorContext>
fn CreateColorTransformer(&self) -> Result<IWICColorTransform>
fn CreateBitmap( &self, uiwidth: u32, uiheight: u32, pixelformat: *const GUID, option: WICBitmapCreateCacheOption, ) -> Result<IWICBitmap>
fn CreateBitmapFromSource( &self, pibitmapsource: Option<&IWICBitmapSource>, option: WICBitmapCreateCacheOption, ) -> Result<IWICBitmap>
fn CreateBitmapFromSourceRect( &self, pibitmapsource: Option<&IWICBitmapSource>, x: u32, y: u32, width: u32, height: u32, ) -> Result<IWICBitmap>
fn CreateBitmapFromMemory( &self, uiwidth: u32, uiheight: u32, pixelformat: *const GUID, cbstride: u32, cbbuffersize: u32, pbbuffer: *const u8, ) -> Result<IWICBitmap>
fn CreateBitmapFromHBITMAP( &self, hbitmap: HBITMAP, hpalette: HPALETTE, options: WICBitmapAlphaChannelOption, ) -> Result<IWICBitmap>
fn CreateBitmapFromHICON(&self, hicon: HICON) -> Result<IWICBitmap>
fn CreateComponentEnumerator( &self, componenttypes: u32, options: u32, ) -> Result<IEnumUnknown>
fn CreateFastMetadataEncoderFromDecoder( &self, pidecoder: Option<&IWICBitmapDecoder>, ) -> Result<IWICFastMetadataEncoder>
fn CreateFastMetadataEncoderFromFrameDecode( &self, piframedecoder: Option<&IWICBitmapFrameDecode>, ) -> Result<IWICFastMetadataEncoder>
fn CreateQueryWriter( &self, guidmetadataformat: *const GUID, pguidvendor: *const GUID, ) -> Result<IWICMetadataQueryWriter>
fn CreateQueryWriterFromReader( &self, piqueryreader: Option<&IWICMetadataQueryReader>, pguidvendor: *const GUID, ) -> Result<IWICMetadataQueryWriter>
Object Safety§
This trait is not object safe.