Code

* INTL - fixed: "Crop to" dropdown strings not translated for PDF Import
[inkscape.git] / src / nodepath.h
index 6ed9e22256ac7fd6566bd13cd69f2a5f2ca7fc86..8f17ecb14b966a76596abfb54120f7912cf53dd1 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <list>
 
+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<NR::Coord> sp_node_selected_common_coord (Inkscape::NodePath::Path *nodepath, NR::Dim2 axis);
 
 void sp_nodepath_show_handles(Inkscape::NodePath::Path *nodepath, bool show);