1 #ifndef INKSCAPE_LPE_INTERPOLATE_H
2 #define INKSCAPE_LPE_INTERPOLATE_H
4 /** \file
5 * LPE interpolate implementation, see lpe-interpolate.cpp.
6 */
8 /*
9 * Authors:
10 * Johan Engelen
11 *
12 * Copyright (C) Johan Engelen 2007-2008 <j.b.c.engelen@utwente.nl>
13 *
14 * Released under GNU GPL, read the file 'COPYING' for more information
15 */
17 #include "live_effects/effect.h"
18 #include "live_effects/parameter/parameter.h"
19 #include "live_effects/parameter/path.h"
20 #include "live_effects/parameter/bool.h"
22 namespace Inkscape {
23 namespace LivePathEffect {
25 class LPEInterpolate : public Effect {
26 public:
27 LPEInterpolate(LivePathEffectObject *lpeobject);
28 virtual ~LPEInterpolate();
30 virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
32 virtual void resetDefaults(SPItem * item);
33 private:
34 PathParam trajectory_path;
35 ScalarParam number_of_steps;
36 BoolParam equidistant_spacing;
38 LPEInterpolate(const LPEInterpolate&);
39 LPEInterpolate& operator=(const LPEInterpolate&);
40 };
42 } //namespace LivePathEffect
43 } //namespace Inkscape
45 #endif // INKSCAPE_LPE_INTERPOLATE_H
47 /*
48 Local Variables:
49 mode:c++
50 c-file-style:"stroustrup"
51 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
52 indent-tabs-mode:nil
53 fill-column:99
54 End:
55 */
56 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :