Code

r11137@tres: ted | 2006-03-23 21:35:18 -0800
authorgouldtj <gouldtj@users.sourceforge.net>
Tue, 2 May 2006 05:21:40 +0000 (05:21 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Tue, 2 May 2006 05:21:40 +0000 (05:21 +0000)
 Adding the basis for a path effect extension type

src/extension/Makefile_insert
src/extension/patheffect.cpp [new file with mode: 0644]
src/extension/patheffect.h [new file with mode: 0644]

index d4590cfe6c9476fde7f821b8109ed030083b7ecc..90f7a17611191e3e4223b685ba72b8ec19487757 100644 (file)
@@ -32,6 +32,8 @@ extension_libextension_a_SOURCES =    \
        extension/output.cpp \
        extension/effect.h \
        extension/effect.cpp \
+       extension/patheffect.h \
+       extension/patheffect.cpp \
        extension/print.h \
        extension/print.cpp
 
diff --git a/src/extension/patheffect.cpp b/src/extension/patheffect.cpp
new file mode 100644 (file)
index 0000000..80815c5
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Authors:
+ *   Ted Gould <ted@gould.cx>
+ *
+ * Copyright (C) 2006 Authors
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "patheffect.h"
+
+namespace Inkscape {
+namespace Extension {
+
+PathEffect::PathEffect (Inkscape::XML::Node * in_repr, Implementation::Implementation * in_imp)
+    : Extension(in_repr, in_imp)
+{
+
+}
+
+PathEffect::~PathEffect (void)
+{
+
+}
+
+gchar *
+PathEffect::processPath (gchar * path_data, gchar * pressure, gchar * tilt)
+{
+
+
+}
+
+
+} }  /* namespace Inkscape, Extension */
+
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
diff --git a/src/extension/patheffect.h b/src/extension/patheffect.h
new file mode 100644 (file)
index 0000000..f44df98
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Authors:
+ *   Ted Gould <ted@gould.cx>
+ *
+ * Copyright (C) 2006 Authors
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "extension.h"
+
+namespace Inkscape {
+namespace Extension {
+
+class PathEffect : public Extension {
+
+public:
+                 PathEffect  (Inkscape::XML::Node * in_repr,
+                              Implementation::Implementation * in_imp);
+    virtual     ~PathEffect  (void);
+    gchar *      processPath (gchar * path_data,
+                              gchar * pressure,
+                              gchar * tilt);
+
+}; /* PathEffect */
+
+
+} }  /* namespace Inkscape, Extension */
+#endif /* INKSCAPE_EXTENSION_EFFECT_H__ */
+
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :