pub struct IWICPaletteVtbl {
pub parent: IUnknownVtbl,
pub InitializePredefined: unsafe extern "system" fn(This: *mut IWICPalette, ePaletteType: WICBitmapPaletteType, fAddTransparentColor: BOOL) -> HRESULT,
pub InitializeCustom: unsafe extern "system" fn(This: *mut IWICPalette, pColors: *mut WICColor, cCount: UINT) -> HRESULT,
pub InitializeFromBitmap: unsafe extern "system" fn(This: *mut IWICPalette, pISurface: *mut IWICBitmapSource, cCount: UINT, fAddTransparentColor: BOOL) -> HRESULT,
pub InitializeFromPalette: unsafe extern "system" fn(This: *mut IWICPalette, pIPalette: *mut IWICPalette) -> HRESULT,
pub GetType: unsafe extern "system" fn(This: *mut IWICPalette, pePaletteType: *mut WICBitmapPaletteType) -> HRESULT,
pub GetColorCount: unsafe extern "system" fn(This: *mut IWICPalette, pcCount: *mut UINT) -> HRESULT,
pub GetColors: unsafe extern "system" fn(This: *mut IWICPalette, cCount: UINT, pColros: *mut WICColor, pcActualColors: *mut UINT) -> HRESULT,
pub IsBlackWhite: unsafe extern "system" fn(This: *mut IWICPalette, pfIsBlackWhite: *mut BOOL) -> HRESULT,
pub IsGrayscale: unsafe extern "system" fn(This: *mut IWICPalette, pfIsGrayscale: *mut BOOL) -> HRESULT,
pub HasAlpha: unsafe extern "system" fn(This: *mut IWICPalette, pfHasAlpha: *mut BOOL) -> HRESULT,
}
Fields
parent | |
InitializePredefined | |
InitializeCustom | |
InitializeFromBitmap | |
InitializeFromPalette | |
GetType | |
GetColorCount | |
GetColors | |
IsBlackWhite | |
IsGrayscale | |
HasAlpha | |