LibreOffice Module vcl (master) 1
|
#include <BitmapMaskToAlphaFilter.hxx>
Public Member Functions | |
virtual BitmapEx | execute (BitmapEx const &rBitmapEx) const override |
Convert a 1-bit mask to an alpha bitmap. More... | |
Public Member Functions inherited from BitmapFilter | |
BitmapFilter () | |
virtual | ~BitmapFilter () |
virtual BitmapEx | execute (BitmapEx const &rBitmapEx) const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from BitmapFilter | |
static bool | Filter (BitmapEx &rBmpEx, BitmapFilter const &rFilter) |
static bool | Filter (Animation &rBmpEx, BitmapFilter const &rFilter) |
Definition at line 15 of file BitmapMaskToAlphaFilter.hxx.
Convert a 1-bit mask to an alpha bitmap.
Implements BitmapFilter.
Definition at line 19 of file BitmapMaskToAlphaFilter.cxx.
References COL_ALPHA_OPAQUE(), COL_ALPHA_TRANSPARENT(), COL_BLACK(), COL_WHITE(), BitmapEx::GetBitmap(), Bitmap::GetGreyPalette(), BitmapInfoAccess::GetPaletteEntryCount(), BitmapReadAccess::GetPixelFromData(), BitmapReadAccess::GetScanline(), BitmapEx::GetSizePixel(), BitmapInfoAccess::HasPalette(), Size::Height(), vcl::N8_BPP, vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), and Size::Width().