Code

r11138@tres: ted | 2006-03-27 21:15:14 -0800
authorgouldtj <gouldtj@users.sourceforge.net>
Tue, 2 May 2006 05:21:51 +0000 (05:21 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Tue, 2 May 2006 05:21:51 +0000 (05:21 +0000)
 Switching things to be more Node based.  This makes more sense as the
 parameters are really more node based.

src/extension/implementation/implementation.cpp
src/extension/implementation/implementation.h
src/extension/patheffect.cpp
src/extension/patheffect.h

index c959d50b316124bafc7694fb3a9add2807f144e2..ee131dea7c4416cf8c5504c525e41245e8879e45 100644 (file)
@@ -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
index 68c2eb04c4044fcce2b2c3656f1944d665751d69..ba25135fd4387f960c0b17d5a679f24fb5b21b4e 100644 (file)
@@ -107,6 +107,7 @@ public:
                           char const *text,
                           NR::Point p,
                           SPStyle const *style);
+    virtual void     processPath(Inkscape::XML::Node * node);
 };
 
 }  /* namespace Implementation */
index 80815c5d08508700eeea21a650234affcf6b86a2..9e94a565459df186f8957d202fff0af097e25928 100644 (file)
@@ -23,8 +23,8 @@ PathEffect::~PathEffect (void)
 
 }
 
-gchar *
-PathEffect::processPath (gchar * path_data, gchar * pressure, gchar * tilt)
+void
+PathEffect::processPath (Inkscape::XML::Node * node)
 {
 
 
index f44df986e82dde0255865b4f23526fe0eb187c0d..f63cf3ea173b3a05f467bc8a9bf159231df0e430 100644 (file)
@@ -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 */