synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
synfig
layers
layer_duplicate.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_DUPLICATE_H__
27
#define __SYNFIG_LAYER_DUPLICATE_H__
28
29
/* === H E A D E R S ======================================================= */
30
31
#include <
synfig/valuenodes/valuenode_duplicate.h
>
32
#include "
layer_composite.h
"
33
#include <
synfig/time.h
>
34
35
/* === S T R U C T S & C L A S S E S ======================================= */
36
37
namespace
synfig {
38
39
class
Layer_Duplicate
:
public
synfig::Layer_Composite
40
{
41
SYNFIG_LAYER_MODULE_EXT
42
43
private
:
44
mutable
ValueBase
param_index;
45
mutable
Time
time_cur;
46
mutable
synfig::Mutex
mutex;
47
48
public
:
49
50
Layer_Duplicate
();
51
53
virtual
Layer::Handle
clone
(etl::loose_handle<Canvas> canvas,
const
GUID
& deriv_guid=
GUID
())
const
;
54
virtual
bool
set_param
(
const
String
& param,
const
synfig::ValueBase
&value);
55
virtual
ValueBase
get_param
(
const
String
& param)
const
;
56
virtual
Color
get_color
(
Context
context,
const
Point
&pos)
const
;
57
virtual
void
set_time
(
IndependentContext
context,
Time
time)
const
;
58
virtual
void
set_time
(
IndependentContext
context,
Time
time,
const
Point
&point)
const
;
59
virtual
ValueNode_Duplicate::Handle
get_duplicate_param
()
const
;
60
virtual
bool
accelerated_render
(
Context
context,
Surface
*surface,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
61
virtual
bool
accelerated_cairorender
(
Context
context, cairo_t *cr,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
62
virtual
Vocab
get_param_vocab
()
const
;
63
virtual
bool
reads_context
()
const
{
return
true
; }
64
};
// END of class Layer_Duplicate
65
66
};
// END of namespace synfig
67
68
/* === E N D =============================================================== */
69
70
#endif
Generated on Mon Nov 16 2015 15:33:42 for synfig-core by
1.8.1.2