LibreOffice Module vcl (master) 1
|
If the alpha is beyond a certain threshold, make it fully transparent. More...
#include <BitmapShadowFilter.hxx>
Public Member Functions | |
BitmapShadowFilter (Color aShadowColor) | |
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 | |
Color | maShadowColor |
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) |
If the alpha is beyond a certain threshold, make it fully transparent.
Definition at line 17 of file BitmapShadowFilter.hxx.
|
inline |
Definition at line 20 of file BitmapShadowFilter.hxx.
References maShadowColor.
Implements BitmapFilter.
Definition at line 17 of file BitmapShadowFilter.cxx.
References BitmapEx::GetBitmap(), Color::GetBlue(), Color::GetGreen(), Color::GetLuminance(), Color::GetRed(), maShadowColor, x, and y.
|
private |
Definition at line 28 of file BitmapShadowFilter.hxx.
Referenced by execute().