summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2006-05-02 05:21:40 +0000
committergouldtj <gouldtj@users.sourceforge.net>2006-05-02 05:21:40 +0000
commit174fce2c8b0984dbbc227b9dbca292fcce074b01 (patch)
treec7ced684d2d3026c2dc83a1a9989722db5f572e7 /src/extension
parentmore german traslation, not jet finished (diff)
downloadinkscape-174fce2c8b0984dbbc227b9dbca292fcce074b01.tar.gz
inkscape-174fce2c8b0984dbbc227b9dbca292fcce074b01.zip
r11137@tres: ted | 2006-03-23 21:35:18 -0800
Adding the basis for a path effect extension type (bzr r655)
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/Makefile_insert2
-rw-r--r--src/extension/patheffect.cpp45
-rw-r--r--src/extension/patheffect.h40
3 files changed, 87 insertions, 0 deletions
diff --git a/src/extension/Makefile_insert b/src/extension/Makefile_insert
index d4590cfe6..90f7a1761 100644
--- a/src/extension/Makefile_insert
+++ b/src/extension/Makefile_insert
@@ -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
index 000000000..80815c5d0
--- /dev/null
+++ b/src/extension/patheffect.cpp
@@ -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
index 000000000..f44df986e
--- /dev/null
+++ b/src/extension/patheffect.h
@@ -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 :