synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
mod_geometry
star.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
27
/* === S T A R T =========================================================== */
28
29
#ifndef __SYNFIG_STAR_H
30
#define __SYNFIG_STAR_H
31
32
/* === H E A D E R S ======================================================= */
33
34
#include <
synfig/layers/layer_polygon.h
>
35
#include <
synfig/value.h
>
36
#include <list>
37
#include <vector>
38
39
/* === M A C R O S ========================================================= */
40
41
/* === T Y P E D E F S ===================================================== */
42
43
/* === C L A S S E S & S T R U C T S ======================================= */
44
45
using namespace
synfig;
46
using namespace
std;
47
using namespace
etl;
48
49
class
Star
:
protected
synfig::Layer_Polygon
50
{
51
SYNFIG_LAYER_MODULE_EXT
52
private
:
54
ValueBase
param_radius1;
56
ValueBase
param_radius2;
58
ValueBase
param_points;
60
ValueBase
param_angle;
62
ValueBase
param_regular_polygon;
63
64
public
:
65
Star
();
66
68
void
sync();
69
bool
import_parameters(
const
String
¶m,
const
ValueBase
&value);
70
virtual
bool
set_param(
const
String
& param,
const
synfig::ValueBase
&value);
71
72
virtual
ValueBase
get_param(
const
String
& param)
const
;
73
74
virtual
Vocab
get_param_vocab()
const
;
75
};
76
77
/* === E N D =============================================================== */
78
79
#endif
Generated on Mon Nov 16 2015 15:33:50 for synfig-core by
1.8.1.2