Code

Fixed const/non-const mismatch loop.
[inkscape.git] / src / sp-path.h
index 7c2af5eecf02c82c7848753608924f0f1789af67..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;
 };
 
@@ -30,7 +32,12 @@ 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