diff --git a/src/nodepath.h b/src/nodepath.h
index aaa488cf3ff6f58c9d78a3c36599a1cc49d4bf66..2b6131684cb1ce8c27730780ab804fe4ad1852b6 100644 (file)
--- a/src/nodepath.h
+++ b/src/nodepath.h
}
}
-/**
+/**
* Radial objects are represented by an angle and a distance from
* 0,0. 0,0 is represented by a == big_num.
*/
* Radial objects are represented by an angle and a distance from
* 0,0. 0,0 is represented by a == big_num.
*/
/// 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;
/// 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;
};
};
Node * other;
/** Position */
NR::Point pos;
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;
/** 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;
};
/**
};
/**
void sp_node_selected_duplicate (void);
void sp_node_selected_join (void);
void sp_node_selected_join_segment (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);
void sp_node_selected_delete (void);
void sp_node_selected_delete_segment (void);
void sp_node_selected_set_type (Inkscape::NodePath::NodeType type);