LibreOffice Module vcl (master) 1
|
Filter image based on a 3x3 convolution matrix. More...
#include <BitmapConvolutionMatrixFilter.hxx>
Public Member Functions | |
BitmapConvolutionMatrixFilter (const sal_Int32(&rMatrix)[9]) | |
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 | |
const sal_Int32(& | mrMatrix )[9] |
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) |
Filter image based on a 3x3 convolution matrix.
Definition at line 20 of file BitmapConvolutionMatrixFilter.hxx.
|
inline |
Definition at line 23 of file BitmapConvolutionMatrixFilter.hxx.
Implements BitmapFilter.
Definition at line 22 of file BitmapConvolutionMatrixFilter.cxx.
References aMap, BitmapEx::GetBitmap(), Color::GetBlue(), BitmapReadAccess::GetColor(), Color::GetGreen(), Bitmap::GetPrefMapMode(), Bitmap::GetPrefSize(), Color::GetRed(), Bitmap::GetSizePixel(), i, MinMax(), mrMatrix, vcl::N24_BPP, vcl::ScopedBitmapAccess< Access, Bitmap, Acquire >::reset(), Bitmap::SetPrefMapMode(), and Bitmap::SetPrefSize().
|
private |
Definition at line 31 of file BitmapConvolutionMatrixFilter.hxx.
Referenced by execute().