Struct winapi::windowscodecs::IWICPalette
[−]
[src]
pub struct IWICPalette { pub lpVtbl: *const IWICPaletteVtbl, }
Fields
lpVtbl |
Methods
impl IWICPalette
[src]
unsafe fn InitializePredefined(&mut self, ePaletteType: WICBitmapPaletteType, fAddTransparentColor: BOOL) -> HRESULT
unsafe fn InitializeCustom(&mut self, pColors: *mut WICColor, cCount: UINT) -> HRESULT
unsafe fn InitializeFromBitmap(&mut self, pISurface: *mut IWICBitmapSource, cCount: UINT, fAddTransparentColor: BOOL) -> HRESULT
unsafe fn InitializeFromPalette(&mut self, pIPalette: *mut IWICPalette) -> HRESULT
unsafe fn GetType(&mut self, pePaletteType: *mut WICBitmapPaletteType) -> HRESULT
unsafe fn GetColorCount(&mut self, pcCount: *mut UINT) -> HRESULT
unsafe fn GetColors(&mut self, cCount: UINT, pColros: *mut WICColor, pcActualColors: *mut UINT) -> HRESULT
unsafe fn IsBlackWhite(&mut self, pfIsBlackWhite: *mut BOOL) -> HRESULT
unsafe fn IsGrayscale(&mut self, pfIsGrayscale: *mut BOOL) -> HRESULT
unsafe fn HasAlpha(&mut self, pfHasAlpha: *mut BOOL) -> HRESULT
Methods from Deref<Target=IUnknown>
unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT
unsafe fn AddRef(&mut self) -> ULONG
unsafe fn Release(&mut self) -> ULONG
Trait Implementations
impl Deref for IWICPalette
[src]
type Target = IUnknown
The resulting type after dereferencing
fn deref(&self) -> &IUnknown
The method called to dereference a value