index 81a4ef0584aef33864c1483fe1e324103ccddbfe..4c3a9938bd4385f52111a9f36f17838801f3d24d 100644 (file)
-#ifndef INKSCAPE_LPE_GEARS_H\r
-#define INKSCAPE_LPE_GEARS_H\r
-\r
-/*\r
- * Inkscape::LPEGears\r
- *\r
-* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>\r
- *\r
- * Released under GNU GPL, read the file 'COPYING' for more information\r
-*\r
-*\r
- */\r
-\r
-#include "live_effects/effect.h"\r
-#include "live_effects/parameter/parameter.h"\r
-\r
-namespace Inkscape {\r
-namespace LivePathEffect {\r
-\r
-class LPEGears : public Effect {\r
-public:\r
- LPEGears(LivePathEffectObject *lpeobject);\r
- ~LPEGears();\r
-\r
- std::vector<Geom::Path> doEffect (std::vector<Geom::Path> & path_in);\r
-\r
-private:\r
- RealParam teeth;\r
- RealParam phi;\r
-\r
- LPEGears(const LPEGears&);\r
- LPEGears& operator=(const LPEGears&);\r
-};\r
-\r
-}; //namespace LivePathEffect\r
-}; //namespace Inkscape\r
-\r
-#endif\r
+#ifndef INKSCAPE_LPE_GEARS_H
+#define INKSCAPE_LPE_GEARS_H
+
+/*
+ * Inkscape::LPEGears
+ *
+* Copyright (C) Johan Engelen 2007 <j.b.c.engelen@utwente.nl>
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+*
+*
+ */
+
+#include "live_effects/effect.h"
+#include "live_effects/parameter/parameter.h"
+
+namespace Inkscape {
+namespace LivePathEffect {
+
+class LPEGears : public Effect {
+public:
+ LPEGears(LivePathEffectObject *lpeobject);
+ virtual ~LPEGears();
+
+ virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
+
+ virtual void setup_nodepath(Inkscape::NodePath::Path *np);
+
+private:
+ ScalarParam teeth;
+ ScalarParam phi;
+
+ LPEGears(const LPEGears&);
+ LPEGears& operator=(const LPEGears&);
+};
+
+}; //namespace LivePathEffect
+}; //namespace Inkscape
+
+#endif