#include <blur.h>
Public Member Functions |
Point & | set_size (const Point &v) |
const Point & | get_size () const |
Point & | get_size () |
int & | set_type (const int &t) |
const int & | get_type () const |
int & | get_type () |
| Blur () |
| Blur (const Point &s, int t, ProgressCallback *callb=0) |
| Blur (Real sx, Real sy, int t, ProgressCallback *callb=0) |
Point | operator() (const Point &p) const |
Point | operator() (Real x, Real y) const |
bool | operator() (const Surface &surface, const Vector &resolution, Surface &out) const |
bool | operator() (cairo_surface_t *surface, const Vector &resolution, cairo_surface_t *out) const |
bool | operator() (const etl::surface< float > &surface, const Vector &resolution, etl::surface< float > &out) const |
Member Enumeration Documentation
- Enumerator:
BOX |
|
FASTGAUSSIAN |
|
CROSS |
|
GAUSSIAN |
|
DISC |
|
FORCE_DWORD |
|
Constructor & Destructor Documentation
Member Function Documentation
const Point& Blur::get_size |
( |
| ) |
const |
|
inline |
Point& Blur::get_size |
( |
| ) |
|
|
inline |
int& Blur::set_type |
( |
const int & |
t | ) |
|
|
inline |
const int& Blur::get_type |
( |
| ) |
const |
|
inline |
References std::abs(), synfig::SuperCallback::amount_complete(), BOX, CROSS, DISC, FASTGAUSSIAN, GAUSSIAN, GAUSSIAN_ADJUSTMENT, GaussianBlur_1x2(), GaussianBlur_1x3(), GaussianBlur_2x1(), GaussianBlur_2x2(), GaussianBlur_3x1(), synfig::Color::get_a(), synfig::Color::get_b(), synfig::Color::get_g(), synfig::Color::get_r(), synfig::Color::set_b(), synfig::Color::set_g(), and synfig::Color::set_r().
bool Blur::operator() |
( |
cairo_surface_t * |
surface, |
|
|
const Vector & |
resolution, |
|
|
cairo_surface_t * |
out |
|
) |
| const |
References std::abs(), synfig::SuperCallback::amount_complete(), BOX, CROSS, DISC, FASTGAUSSIAN, GAUSSIAN, GAUSSIAN_ADJUSTMENT, GaussianBlur_1x2(), GaussianBlur_1x3(), GaussianBlur_2x1(), GaussianBlur_2x2(), GaussianBlur_3x1(), synfig::info(), synfig::CairoSurface::map_cairo_image(), and synfig::CairoSurface::unmap_cairo_image().
bool Blur::operator() |
( |
const etl::surface< float > & |
surface, |
|
|
const Vector & |
resolution, |
|
|
etl::surface< float > & |
out |
|
) |
| const |
References std::abs(), synfig::SuperCallback::amount_complete(), BOX, CROSS, DISC, FASTGAUSSIAN, GAUSSIAN, GAUSSIAN_ADJUSTMENT, GaussianBlur_1x2(), GaussianBlur_1x3(), GaussianBlur_2x1(), GaussianBlur_2x2(), and GaussianBlur_3x1().
The documentation for this class was generated from the following files: