LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
BitmapFilterStackBlur Class Reference

#include <BitmapFilterStackBlur.hxx>

Inheritance diagram for BitmapFilterStackBlur:
[legend]
Collaboration diagram for BitmapFilterStackBlur:
[legend]

Public Member Functions

 BitmapFilterStackBlur (sal_Int32 nRadius)
 Implementation of stack blur - a fast Gaussian blur approximation. More...
 
virtual ~BitmapFilterStackBlur ()
 
virtual BitmapEx execute (BitmapEx const &rBitmap) const override
 
Bitmap filter (Bitmap const &rBitmap) const
 
- Public Member Functions inherited from BitmapFilter
 BitmapFilter ()
 
virtual ~BitmapFilter ()
 

Private Attributes

sal_Int32 mnRadius
 

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)
 

Detailed Description

Definition at line 18 of file BitmapFilterStackBlur.hxx.

Constructor & Destructor Documentation

BitmapFilterStackBlur::BitmapFilterStackBlur ( sal_Int32  nRadius)

Implementation of stack blur - a fast Gaussian blur approximation.

nRadius - blur radius, valid values are between 2 and 254 bExtend - extend the bitmap in all directions by the radius

Stack Blur Algorithm by Mario Klingemann mario.nosp@m.@qua.nosp@m.simon.nosp@m.do.c.nosp@m.om (http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html)

Additionally references and implementations:

Definition at line 584 of file BitmapFilterStackBlur.cxx.

BitmapFilterStackBlur::~BitmapFilterStackBlur ( )
virtual

Definition at line 589 of file BitmapFilterStackBlur.cxx.

Member Function Documentation

BitmapEx BitmapFilterStackBlur::execute ( BitmapEx const &  rBitmap) const
overridevirtual

Implements BitmapFilter.

Definition at line 591 of file BitmapFilterStackBlur.cxx.

References filter(), BitmapEx::GetBitmap(), BitmapEx::GetMask(), and result.

Bitmap BitmapFilterStackBlur::filter ( Bitmap const &  rBitmap) const

Member Data Documentation

sal_Int32 BitmapFilterStackBlur::mnRadius
private

Definition at line 20 of file BitmapFilterStackBlur.hxx.

Referenced by filter().


The documentation for this class was generated from the following files: