From: gouldtj Date: Tue, 2 May 2006 05:21:51 +0000 (+0000) Subject: r11138@tres: ted | 2006-03-27 21:15:14 -0800 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=966ac5a26316d76e900b95e197826fb68c1b409e;p=inkscape.git r11138@tres: ted | 2006-03-27 21:15:14 -0800 Switching things to be more Node based. This makes more sense as the parameters are really more node based. --- diff --git a/src/extension/implementation/implementation.cpp b/src/extension/implementation/implementation.cpp index c959d50b3..ee131dea7 100644 --- a/src/extension/implementation/implementation.cpp +++ b/src/extension/implementation/implementation.cpp @@ -150,6 +150,12 @@ Implementation::text(Inkscape::Extension::Print *module, char const *text, return 0; } +void +Implementation::processPath(Inkscape::XML::Node * node) +{ + return g_strdup(path); +} + /** \brief Tell the printing engine whether text should be text or path \retval true Render the text as a path diff --git a/src/extension/implementation/implementation.h b/src/extension/implementation/implementation.h index 68c2eb04c..ba25135fd 100644 --- a/src/extension/implementation/implementation.h +++ b/src/extension/implementation/implementation.h @@ -107,6 +107,7 @@ public: char const *text, NR::Point p, SPStyle const *style); + virtual void processPath(Inkscape::XML::Node * node); }; } /* namespace Implementation */ diff --git a/src/extension/patheffect.cpp b/src/extension/patheffect.cpp index 80815c5d0..9e94a5654 100644 --- a/src/extension/patheffect.cpp +++ b/src/extension/patheffect.cpp @@ -23,8 +23,8 @@ PathEffect::~PathEffect (void) } -gchar * -PathEffect::processPath (gchar * path_data, gchar * pressure, gchar * tilt) +void +PathEffect::processPath (Inkscape::XML::Node * node) { diff --git a/src/extension/patheffect.h b/src/extension/patheffect.h index f44df986e..f63cf3ea1 100644 --- a/src/extension/patheffect.h +++ b/src/extension/patheffect.h @@ -18,9 +18,7 @@ public: PathEffect (Inkscape::XML::Node * in_repr, Implementation::Implementation * in_imp); virtual ~PathEffect (void); - gchar * processPath (gchar * path_data, - gchar * pressure, - gchar * tilt); + void processPath (Inkscape::XML::Node * node); }; /* PathEffect */