synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
synfig
layers
layer_solidcolor.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
22
/* ========================================================================= */
23
24
/* === S T A R T =========================================================== */
25
26
#ifndef __SYNFIG_LAYER_SOLIDCOLOR_H
27
#define __SYNFIG_LAYER_SOLIDCOLOR_H
28
29
/* === H E A D E R S ======================================================= */
30
31
#include "
layer_composite.h
"
32
#include <
synfig/color.h
>
33
34
/* === M A C R O S ========================================================= */
35
36
/* === T Y P E D E F S ===================================================== */
37
38
/* === C L A S S E S & S T R U C T S ======================================= */
39
40
namespace
synfig {
41
42
class
Layer_SolidColor
:
public
Layer_Composite
,
public
Layer_NoDeform
43
{
44
SYNFIG_LAYER_MODULE_EXT
45
46
private
:
47
49
ValueBase
param_color;
50
51
public
:
52
53
Layer_SolidColor
();
54
55
virtual
bool
set_param
(
const
String
& param,
const
synfig::ValueBase
&value);
56
57
virtual
ValueBase
get_param
(
const
String
& param)
const
;
58
59
virtual
Color
get_color
(
Context
context,
const
Point
&pos)
const
;
60
61
virtual
bool
accelerated_render
(
Context
context,
Surface
*surface,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
62
virtual
bool
accelerated_cairorender
(
Context
context, cairo_t *cr,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
63
virtual
Vocab
get_param_vocab
()
const
;
64
65
virtual
synfig::Layer::Handle
hit_check
(
synfig::Context
context,
const
synfig::Point
&point)
const
;
66
67
};
// END of class Layer_SolidColor
68
69
};
// END of namespace synfig
70
71
/* === E N D =============================================================== */
72
73
#endif
Generated on Mon Nov 16 2015 15:33:43 for synfig-core by
1.8.1.2