X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnodepath.h;h=2b8243f5b612b693055428b87da84df62f65641e;hb=f3a0b5ff671d003a086352d4862a2a3905a99863;hp=2b6131684cb1ce8c27730780ab804fe4ad1852b6;hpb=2c9c6838241516364d68db0d30520e18f70fc70d;p=inkscape.git diff --git a/src/nodepath.h b/src/nodepath.h index 2b6131684..2b8243f5b 100644 --- a/src/nodepath.h +++ b/src/nodepath.h @@ -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);