From 1f9681bc5bc1f0c6e6c43b32d9ff65dd2afb7e0d Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 7 Aug 2007 01:03:41 +0000 Subject: [PATCH] export single-item-to-path function --- src/path-chemistry.cpp | 5 +++-- src/path-chemistry.h | 2 +- 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 -- 2.30.2