LibreOffice Module vcl (master) 1
|
#include <BitmapSolarizeFilter.hxx>
Public Member Functions | |
BitmapSolarizeFilter (double cSolarGreyThreshold) | |
virtual BitmapEx | execute (BitmapEx const &rBitmapEx) const override |
Public Member Functions inherited from BitmapFilter | |
BitmapFilter () | |
virtual | ~BitmapFilter () |
virtual BitmapEx | execute (BitmapEx const &rBitmapEx) const =0 |
Private Attributes | |
sal_uInt8 | mcSolarGreyThreshold |
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 18 of file BitmapSolarizeFilter.hxx.
|
inline |
Definition at line 21 of file BitmapSolarizeFilter.hxx.
Implements BitmapFilter.
Definition at line 17 of file BitmapSolarizeFilter.cxx.
References BitmapEx::GetBitmap(), BitmapPalette::GetEntryCount(), Color::GetLuminance(), i, Color::Invert(), mcSolarGreyThreshold, nCount, and vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset().
|
private |
Definition at line 29 of file BitmapSolarizeFilter.hxx.
Referenced by execute().