Code

Filter effects dialog:
[inkscape.git] / src / shape-editor.h
index bd93668f77bcab9762c4d30da481d9346c7d5358..8eca230a4c9468b8c8fdffe512a29b67c379a413 100644 (file)
 namespace Inkscape {
 namespace NodePath {
 class Path;
-typedef enum NodeType;
 }
 }
 
 #include "libnr/nr-path-code.h"
 #include "libnr/nr-point.h"
+#include "libnr/nr-maybe.h"
 
 class SPKnotHolder;
 class SPDesktop;
@@ -79,11 +79,13 @@ public:
 
     void delete_nodes();
     void delete_nodes_preserving_shape();
+    void delete_segment();
 
-    void set_node_type(Inkscape::NodePath::NodeType type);
+    void set_node_type(int type);
 
     void break_at_nodes();
     void join_nodes();
+    void join_segments();
 
     void duplicate_nodes();
 
@@ -102,7 +104,9 @@ public:
     void select_next ();
     void select_prev ();
 
-    void flip (NR::Dim2 axis);
+    void show_handles (bool show);
+
+    void flip (NR::Dim2 axis, NR::Maybe<NR::Point> center = NR::Nothing());
 
     void distribute (NR::Dim2 axis);
     void align (NR::Dim2 axis);