X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnodepath.h;h=2b6131684cb1ce8c27730780ab804fe4ad1852b6;hb=2d5f45472d142796f87b8b737cc0b56fc9de3bf7;hp=aaa488cf3ff6f58c9d78a3c36599a1cc49d4bf66;hpb=3a137448afdc3d6230e7bd3d9df2ed8401cd0500;p=inkscape.git diff --git a/src/nodepath.h b/src/nodepath.h index aaa488cf3..2b6131684 100644 --- a/src/nodepath.h +++ b/src/nodepath.h @@ -31,7 +31,7 @@ class Node; } -/** +/** * Radial objects are represented by an angle and a distance from * 0,0. 0,0 is represented by a == big_num. */ @@ -130,6 +130,9 @@ class Path { /// livarot library is used for "point on path" and "nearest position on path", so we need to maintain its path representation as well ::Path *livarot_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; }; @@ -182,14 +185,16 @@ class NodeSide{ Node * other; /** Position */ NR::Point pos; +/** Origin (while dragging) in radial notation */ + Radial origin_radial; +/** Origin (while dragging) in x/y notation */ + NR::Point origin; /** Knots are Inkscape's way of providing draggable points. This * Knot is the point on the curve representing the control point in a * bezier curve.*/ SPKnot * knot; /** What kind of rendering? */ SPCanvasItem * line; -/** */ - Radial origin; }; /** @@ -254,6 +259,7 @@ void sp_node_selected_break (void); void sp_node_selected_duplicate (void); void sp_node_selected_join (void); void sp_node_selected_join_segment (void); +void sp_node_delete_preserve (GList *nodes_to_delete); void sp_node_selected_delete (void); void sp_node_selected_delete_segment (void); void sp_node_selected_set_type (Inkscape::NodePath::NodeType type);