|
LibreOffice Module vcl (master) 1
|
#include <BitmapDuoToneFilter.hxx>
Public Member Functions | |
| BitmapDuoToneFilter (Color nColorOne, Color nColorTwo) | |
| 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 | mnColorOne |
| Color | mnColorTwo |
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 BitmapDuoToneFilter.hxx.
Definition at line 21 of file BitmapDuoToneFilter.hxx.
Implements BitmapFilter.
Definition at line 25 of file BitmapDuoToneFilter.cxx.
References BitmapEx::GetBitmap(), Color::GetBlue(), BitmapReadAccess::GetColor(), Color::GetGreen(), Color::GetLuminance(), Color::GetRed(), Bitmap::GetSizePixel(), Size::Height(), lcl_getDuotoneColorComponent(), mnColorOne, mnColorTwo, vcl::N24_BPP, Bitmap::ReassignWithSize(), vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), Size::Width(), x, and y.
|
private |
Definition at line 30 of file BitmapDuoToneFilter.hxx.
Referenced by execute().
|
private |
Definition at line 31 of file BitmapDuoToneFilter.hxx.
Referenced by execute().