X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnodepath.h;h=8f17ecb14b966a76596abfb54120f7912cf53dd1;hb=f2c65c84b2e5016ef16907bf15d51ded9c25411e;hp=6ed9e22256ac7fd6566bd13cd69f2a5f2ca7fc86;hpb=0fc5ce7045233dae7e15fdc86774370f1b1d73cb;p=inkscape.git diff --git a/src/nodepath.h b/src/nodepath.h index 6ed9e2225..8f17ecb14 100644 --- a/src/nodepath.h +++ b/src/nodepath.h @@ -21,6 +21,7 @@ #include +class SPObject; class SPDesktop; class SPPath; class SPKnot; @@ -237,6 +238,8 @@ class Path { SPCanvasItem *helper_path; SPCurve *curve; bool show_helperpath; + guint32 helperpath_rgba; + gdouble helperpath_width; /// 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; @@ -245,7 +248,6 @@ class Path { bool show_handles; /// true if the path cannot contain curves, just straight lines - // FIXME: NOT IMPLEMENTED YET bool straight_path; /// active_node points to the node that is currently mouseovered (= NULL if @@ -300,6 +302,9 @@ void sp_node_selected_set_type (Inkscape::NodePath::Path *nodepath, Inkscape::No void sp_node_selected_set_line_type (Inkscape::NodePath::Path *nodepath, NRPathcode code); void sp_node_selected_move (Inkscape::NodePath::Path *nodepath, gdouble dx, gdouble dy); void sp_node_selected_move_screen (Inkscape::NodePath::Path *nodepath, gdouble dx, gdouble dy); +void sp_node_selected_move_absolute (Inkscape::NodePath::Path *nodepath, NR::Coord val, NR::Dim2 axis); +NR::Rect sp_node_selected_bbox (Inkscape::NodePath::Path *nodepath); +NR::Maybe sp_node_selected_common_coord (Inkscape::NodePath::Path *nodepath, NR::Dim2 axis); void sp_nodepath_show_handles(Inkscape::NodePath::Path *nodepath, bool show);