diff --git a/src/sp-path.h b/src/sp-path.h
index 7c2af5eecf02c82c7848753608924f0f1789af67..5cfa34913e6f9a628b308235e92543279a6a5b78 100644 (file)
--- a/src/sp-path.h
+++ b/src/sp-path.h
-#ifndef __SP_PATH_H__
-#define __SP_PATH_H__
+#ifndef SEEN_SP_PATH_H
+#define SEEN_SP_PATH_H
/*
* SVG <path> implementation
#include "sp-shape.h"
#include "sp-conn-end-pair.h"
+struct SPCurve;
#define SP_TYPE_PATH (sp_path_get_type ())
#define SP_PATH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_PATH, SPPath))
#define SP_IS_PATH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_PATH))
struct SPPath : public SPShape {
+ SPCurve *original_curve;
+
SPConnEndPair connEndPair;
};
};
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
+#endif // SEEN_SP_PATH_H
/*
Local Variables: