Code

Node tool: fix moving multiple nodes along handles (Ctrl+Alt)
[inkscape.git] / src / live_effects / lpe-curvestitch.h
index ce7ad583ce4f80bbeb5d16bd27e51a6621227b0f..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
  */
 
 /*
@@ -28,13 +28,19 @@ public:
     LPECurveStitch(LivePathEffectObject *lpeobject);
     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;