Code

Fixed const/non-const mismatch loop.
[inkscape.git] / src / sp-path.h
index d55c978295d55a53ff12b64de01e728060a0e503..bf294c37ceebedf980d5af97eae31be309292e27 100644 (file)
@@ -22,6 +22,8 @@
 #define SP_IS_PATH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_PATH))
 
 struct SPPath : public SPShape {
+    SPCurve *original_curve;
+
     SPConnEndPair connEndPair;
 };
 
@@ -32,6 +34,11 @@ struct SPPathClass {
 GType sp_path_get_type (void);
 gint sp_nodes_in_path(SPPath *path);
 
+void     sp_path_set_original_curve (SPPath *path, SPCurve *curve, unsigned int owner, bool write);
+SPCurve* sp_path_get_original_curve (SPPath *path);
+SPCurve* sp_path_get_curve_for_edit (SPPath *path);
+const SPCurve* sp_path_get_curve_reference (SPPath *path);
+
 #endif
 
 /*