[−][src]Struct winapi::um::wincodec::IWICFormatConverter
Fields
lpVtbl: *const IWICFormatConverterVtbl
Methods
impl IWICFormatConverter
[src]
pub unsafe fn Initialize(
&self,
pISource: *const IWICBitmapSource,
dstFormat: REFWICPixelFormatGUID,
dither: WICBitmapDitherType,
pIPalette: *const IWICPalette,
alphaThresholdPercent: c_double,
paletteTranslate: WICBitmapPaletteType
) -> HRESULT
[src]
&self,
pISource: *const IWICBitmapSource,
dstFormat: REFWICPixelFormatGUID,
dither: WICBitmapDitherType,
pIPalette: *const IWICPalette,
alphaThresholdPercent: c_double,
paletteTranslate: WICBitmapPaletteType
) -> HRESULT
pub unsafe fn CanConvert(
&self,
srcPixelFormat: REFWICPixelFormatGUID,
dstPixelFormat: REFWICPixelFormatGUID,
pfCanConvert: *mut BOOL
) -> HRESULT
[src]
&self,
srcPixelFormat: REFWICPixelFormatGUID,
dstPixelFormat: REFWICPixelFormatGUID,
pfCanConvert: *mut BOOL
) -> HRESULT
Methods from Deref<Target = IWICBitmapSource>
pub unsafe fn GetSize(
&self,
puiWidth: *mut UINT,
puiHeight: *mut UINT
) -> HRESULT
[src]
&self,
puiWidth: *mut UINT,
puiHeight: *mut UINT
) -> HRESULT
pub unsafe fn GetPixelFormat(
&self,
pPixelFormat: *mut WICPixelFormatGUID
) -> HRESULT
[src]
&self,
pPixelFormat: *mut WICPixelFormatGUID
) -> HRESULT
pub unsafe fn GetResolution(
&self,
pDpiX: *mut c_double,
pDpiY: *mut c_double
) -> HRESULT
[src]
&self,
pDpiX: *mut c_double,
pDpiY: *mut c_double
) -> HRESULT
pub unsafe fn CopyPalette(&self, pIPalette: *mut IWICPalette) -> HRESULT
[src]
pub unsafe fn CopyPixels(
&self,
prc: *const WICRect,
cbStride: UINT,
cbBufferSize: UINT,
pbBuffer: *mut BYTE
) -> HRESULT
[src]
&self,
prc: *const WICRect,
cbStride: UINT,
cbBufferSize: UINT,
pbBuffer: *mut BYTE
) -> HRESULT
Trait Implementations
impl Interface for IWICFormatConverter
[src]
impl Deref for IWICFormatConverter
[src]
type Target = IWICBitmapSource
The resulting type after dereferencing.
fn deref(&self) -> &IWICBitmapSource
[src]
Auto Trait Implementations
impl Unpin for IWICFormatConverter
impl !Send for IWICFormatConverter
impl !Sync for IWICFormatConverter
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,