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"
21 namespace Inkscape {
22 namespace LivePathEffect {
24 class LPEInterpolate : public Effect {
25 public:
26 LPEInterpolate(LivePathEffectObject *lpeobject);
27 virtual ~LPEInterpolate();
29 virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
31 virtual void resetDefaults(SPItem * item);
32 private:
33 PathParam interpolate_path;
34 ScalarParam number_of_steps;
35 ScalarParam spacing;
37 LPEInterpolate(const LPEInterpolate&);
38 LPEInterpolate& operator=(const LPEInterpolate&);
39 };
41 } //namespace LivePathEffect
42 } //namespace Inkscape
44 #endif // INKSCAPE_LPE_INTERPOLATE_H
46 /*
47 Local Variables:
48 mode:c++
49 c-file-style:"stroustrup"
50 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
51 indent-tabs-mode:nil
52 fill-column:99
53 End:
54 */
55 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :