Code

Fixes calligraphy tool so drawing now uses the the correct opacity.
[inkscape.git] / src / nodepath.h
index 2b6131684cb1ce8c27730780ab804fe4ad1852b6..2b8243f5b612b693055428b87da84df62f65641e 100644 (file)
@@ -133,6 +133,9 @@ class Path {
 
       /// true if we changed repr, to tell this change from an external one such as from undo, simplify, or another desktop
        unsigned int local_change;
+
+       /// true if we're showing selected nodes' handles
+       bool show_handles;
 };
 
 
@@ -231,7 +234,7 @@ class Node {
 }  // namespace Inkscape
 
 // Do function documentation in nodepath.cpp
-Inkscape::NodePath::Path * sp_nodepath_new (SPDesktop * desktop, SPItem * item);
+Inkscape::NodePath::Path * sp_nodepath_new (SPDesktop * desktop, SPItem * item, bool show_handles);
 void sp_nodepath_destroy (Inkscape::NodePath::Path * nodepath);
 void sp_nodepath_deselect (Inkscape::NodePath::Path *nodepath);
 void sp_nodepath_select_all (Inkscape::NodePath::Path *nodepath, bool invert);
@@ -267,6 +270,8 @@ void sp_node_selected_set_line_type (NRPathcode code);
 void sp_node_selected_move (gdouble dx, gdouble dy);
 void sp_node_selected_move_screen (gdouble dx, gdouble dy);
 
+void sp_nodepath_show_handles(bool show);
+
 void sp_nodepath_selected_nodes_rotate (Inkscape::NodePath::Path * nodepath, gdouble angle, int which, bool screen);
 
 void sp_nodepath_selected_nodes_scale (Inkscape::NodePath::Path * nodepath, gdouble grow, int which);