Struct winapi::windowscodecs::IWICPalette [] [src]

pub struct IWICPalette {
    pub lpVtbl: *const IWICPaletteVtbl,
}

Fields

lpVtbl: *const IWICPaletteVtbl

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 Debug for IWICPalette
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IWICPalette
[src]

type Target = IUnknown

The resulting type after dereferencing

fn deref(&self) -> &IUnknown

The method called to dereference a value

impl DerefMut for IWICPalette
[src]

fn deref_mut(&mut self) -> &mut IUnknown

The method called to mutably dereference a value