synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
mod_filter
modules/mod_filter/blur.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
23
/* ========================================================================= */
24
25
/* === H E A D E R S ======================================================= */
26
27
#ifndef __SYNFIG_LAYER_BLUR_H__
28
#define __SYNFIG_LAYER_BLUR_H__
29
30
/* -- H E A D E R S --------------------------------------------------------- */
31
32
#include <
synfig/layers/layer_composite.h
>
33
#include <
synfig/color.h
>
34
#include <
synfig/vector.h
>
35
#include <
synfig/blur.h
>
36
37
using namespace
synfig;
38
using namespace
std;
39
using namespace
etl;
40
41
class
Blur_Layer
:
public
Layer_Composite
42
{
43
SYNFIG_LAYER_MODULE_EXT
44
private
:
46
ValueBase
param_size;
48
ValueBase
param_type;
49
50
public
:
51
Blur_Layer
();
52
53
virtual
bool
set_param(
const
String
& param,
const
ValueBase
&value);
54
55
virtual
ValueBase
get_param(
const
String
& param)
const
;
56
57
virtual
Color
get_color(
Context
context,
const
Point
&pos)
const
;
58
59
virtual
bool
accelerated_render(
Context
context,
Surface
*surface,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
60
virtual
bool
accelerated_cairorender(
Context
context, cairo_t *cr,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
61
virtual
synfig::Rect
get_full_bounding_rect(
Context
context)
const
;
62
63
virtual
Vocab
get_param_vocab()
const
;
64
65
virtual
bool
reads_context
()
const
{
return
true
; }
66
};
// END of class Blur
67
68
/* -- E X T E R N S --------------------------------------------------------- */
69
70
/* -- E N D ----------------------------------------------------------------- */
71
72
#endif
Generated on Mon Nov 16 2015 15:33:36 for synfig-core by
1.8.1.2