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