synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
lyr_std
clamp.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 <
synfig/layer.h
>
32
33
/* === M A C R O S ========================================================= */
34
35
/* === T Y P E D E F S ===================================================== */
36
37
/* === C L A S S E S & S T R U C T S ======================================= */
38
39
namespace
synfig {
40
41
class
Layer_Clamp
:
public
Layer
42
{
43
SYNFIG_LAYER_MODULE_EXT
44
45
private
:
47
ValueBase
param_invert_negative;
49
ValueBase
param_clamp_ceiling;
51
ValueBase
param_ceiling;
53
ValueBase
param_floor;
54
55
Color
clamp_color(
const
Color
&in)
const
;
56
57
public
:
58
59
Layer_Clamp
();
60
61
virtual
bool
set_param
(
const
String
& param,
const
synfig::ValueBase
&value);
62
63
virtual
ValueBase
get_param
(
const
String
& param)
const
;
64
65
virtual
Color
get_color
(
Context
context,
const
Point
&pos)
const
;
66
67
virtual
Rect
get_full_bounding_rect
(
Context
context)
const
;
68
69
virtual
bool
accelerated_render
(
Context
context,
Surface
*surface,
int
quality,
const
RendDesc
&renddesc,
ProgressCallback
*cb)
const
;
70
71
virtual
Vocab
get_param_vocab
()
const
;
72
};
// END of class Layer_Clamp
73
74
};
// END of namespace synfig
75
76
/* === E N D =============================================================== */
77
78
#endif
Generated on Mon Nov 16 2015 15:33:38 for synfig-core by
1.8.1.2