Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / live_effects / lpe-curvestitch.h
index fd41f6849c2643293dc0bf1971303c6085ae3802..8a8e43f2c74a5f624485205c575c1d2436981ab7 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef INKSCAPE_LPE_EXPRESSION_H
-#define INKSCAPE_LPE_EXPRESSION_H
+#ifndef INKSCAPE_LPE_CURVESTITCH_H
+#define INKSCAPE_LPE_CURVESTITCH_H
 
 /** \file
- * Implementation of an effect similar to Expression, see lpe-expression.cpp
+ * Implementation of the curve stitch effect, see lpe-curvestitch.cpp
  */
 
 /*
@@ -26,15 +26,21 @@ namespace LivePathEffect {
 class LPECurveStitch : public Effect {
 public:
     LPECurveStitch(LivePathEffectObject *lpeobject);
-    ~LPECurveStitch();
+    virtual ~LPECurveStitch();
 
-    std::vector<Geom::Path> doEffect (std::vector<Geom::Path> & path_in);
+    virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in);
+
+    virtual void resetDefaults(SPItem * item);
+
+    virtual void transform_multiply(Geom::Matrix const& postmul, bool set);
 
 private:
     PathParam strokepath;
     ScalarParam nrofpaths;
-    RandomParam startpoint_variation;
-    RandomParam endpoint_variation;
+    RandomParam startpoint_edge_variation;
+    RandomParam startpoint_spacing_variation;
+    RandomParam endpoint_edge_variation;
+    RandomParam endpoint_spacing_variation;
     ScalarParam prop_scale;
     BoolParam scale_y_rel;