Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICImagingFactory [−][src]
#[repr(transparent)]pub struct IWICImagingFactory(_);
Implementations
pub unsafe fn CreateDecoderFromFilename<'a>(
&self,
wzfilename: impl IntoParam<'a, PWSTR>,
pguidvendor: *const Guid,
dwdesiredaccess: u32,
metadataoptions: WICDecodeOptions
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateDecoderFromStream<'a>(
&self,
pistream: impl IntoParam<'a, IStream>,
pguidvendor: *const Guid,
metadataoptions: WICDecodeOptions
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateDecoderFromFileHandle(
&self,
hfile: usize,
pguidvendor: *const Guid,
metadataoptions: WICDecodeOptions
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateComponentInfo(
&self,
clsidcomponent: *const Guid
) -> Result<IWICComponentInfo>
pub unsafe fn CreateDecoder(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateEncoder(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid
) -> Result<IWICBitmapEncoder>
pub unsafe fn CreateBitmap(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *mut Guid,
option: WICBitmapCreateCacheOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromSource<'a>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
option: WICBitmapCreateCacheOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromSourceRect<'a>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
x: u32,
y: u32,
width: u32,
height: u32
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromMemory(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *mut Guid,
cbstride: u32,
cbbuffersize: u32,
pbbuffer: *mut u8
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromHBITMAP<'a>(
&self,
hbitmap: impl IntoParam<'a, HBITMAP>,
hpalette: impl IntoParam<'a, HPALETTE>,
options: WICBitmapAlphaChannelOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromHICON<'a>(
&self,
hicon: impl IntoParam<'a, HICON>
) -> Result<IWICBitmap>
pub unsafe fn CreateComponentEnumerator(
&self,
componenttypes: u32,
options: u32
) -> Result<IEnumUnknown>
pub unsafe fn CreateFastMetadataEncoderFromDecoder<'a>(
&self,
pidecoder: impl IntoParam<'a, IWICBitmapDecoder>
) -> Result<IWICFastMetadataEncoder>
pub unsafe fn CreateFastMetadataEncoderFromFrameDecode<'a>(
&self,
piframedecoder: impl IntoParam<'a, IWICBitmapFrameDecode>
) -> Result<IWICFastMetadataEncoder>
pub unsafe fn CreateQueryWriter(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid
) -> Result<IWICMetadataQueryWriter>
pub unsafe fn CreateQueryWriterFromReader<'a>(
&self,
piqueryreader: impl IntoParam<'a, IWICMetadataQueryReader>,
pguidvendor: *const Guid
) -> Result<IWICMetadataQueryWriter>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IWICImagingFactory
impl !Send for IWICImagingFactory
impl !Sync for IWICImagingFactory
impl Unpin for IWICImagingFactory
impl UnwindSafe for IWICImagingFactory
Blanket Implementations
type DefaultType = Option<T>
Converts from Self::DefaultType
to Result<T>
.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more