Code

change doEffect functions to use const& parameters
[inkscape.git] / src / live_effects / lpe-gears.h
1 #ifndef INKSCAPE_LPE_GEARS_H
2 #define INKSCAPE_LPE_GEARS_H
4 /*
5  * Inkscape::LPEGears
6  *
7 * Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
8  *
9  * Released under GNU GPL, read the file 'COPYING' for more information
10 *
11 *
12  */
14 #include "live_effects/effect.h"
15 #include "live_effects/parameter/parameter.h"
17 namespace Inkscape {
18 namespace LivePathEffect {
20 class LPEGears : public Effect {
21 public:
22     LPEGears(LivePathEffectObject *lpeobject);
23     virtual ~LPEGears();
25     virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
27     virtual void setup_nodepath(Inkscape::NodePath::Path *np);
29 private:
30     ScalarParam teeth;
31     ScalarParam phi;
33     LPEGears(const LPEGears&);
34     LPEGears& operator=(const LPEGears&);
35 };
37 }; //namespace LivePathEffect
38 }; //namespace Inkscape
40 #endif