summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-08-07 01:03:41 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-08-07 01:03:41 +0000
commit1212125d308a7658a2e6196f7f19b046b8aa3149 (patch)
tree5f17c94a763239e4c1bc34b52eef0f39450e53c1
parentsetting of attributes and default values (diff)
downloadinkscape-1212125d308a7658a2e6196f7f19b046b8aa3149.tar.gz
inkscape-1212125d308a7658a2e6196f7f19b046b8aa3149.zip
export single-item-to-path function
(bzr r3404)
-rw-r--r--src/path-chemistry.cpp5
-rw-r--r--src/path-chemistry.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index cbb157c3d..7eb84b137 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -34,9 +34,10 @@
#include "selection.h"
#include "desktop-handles.h"
+#include "path-chemistry.h"
+
/* Helper functions for sp_selected_path_to_curves */
static void sp_selected_path_to_curves0(gboolean do_document_done, guint32 text_grouping_policy);
-static Inkscape::XML::Node *sp_selected_item_to_curved_repr(SPItem *item, guint32 text_grouping_policy);
enum {
/* Not used yet. This is the placeholder of Lauris's idea. */
SP_TOCURVE_INTERACTIVE = 1 << 0,
@@ -309,7 +310,7 @@ sp_selected_path_to_curves0(gboolean interactive, guint32 text_grouping_policy)
}
}
-static Inkscape::XML::Node *
+Inkscape::XML::Node *
sp_selected_item_to_curved_repr(SPItem *item, guint32 text_grouping_policy)
{
if (!item)
diff --git a/src/path-chemistry.h b/src/path-chemistry.h
index 41187bbe1..52b3b189d 100644
--- a/src/path-chemistry.h
+++ b/src/path-chemistry.h
@@ -18,7 +18,7 @@
void sp_selected_path_combine (void);
void sp_selected_path_break_apart (void);
void sp_selected_path_to_curves (void);
-
+Inkscape::XML::Node *sp_selected_item_to_curved_repr(SPItem *item, guint32 text_grouping_policy);
void sp_selected_path_reverse ();
#endif