summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2006-05-02 05:21:51 +0000
committergouldtj <gouldtj@users.sourceforge.net>2006-05-02 05:21:51 +0000
commitad3cd7e499cf23f6786fc847b530685c513ed1c1 (patch)
tree15d7199d5b8be7a91cdcb0aa82de21c03d00ab06 /src
parentr11137@tres: ted | 2006-03-23 21:35:18 -0800 (diff)
downloadinkscape-ad3cd7e499cf23f6786fc847b530685c513ed1c1.tar.gz
inkscape-ad3cd7e499cf23f6786fc847b530685c513ed1c1.zip
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. (bzr r656)
Diffstat (limited to 'src')
-rw-r--r--src/extension/implementation/implementation.cpp6
-rw-r--r--src/extension/implementation/implementation.h1
-rw-r--r--src/extension/patheffect.cpp4
-rw-r--r--src/extension/patheffect.h4
4 files changed, 10 insertions, 5 deletions
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 */