From 42e04ed2e6aa6366e0ae13638a28ae64cad76ba7 Mon Sep 17 00:00:00 2001 From: gouldtj Date: Tue, 2 May 2006 05:21:40 +0000 Subject: [PATCH] r11137@tres: ted | 2006-03-23 21:35:18 -0800 Adding the basis for a path effect extension type --- src/extension/Makefile_insert | 2 ++ src/extension/patheffect.cpp | 45 +++++++++++++++++++++++++++++++++++ src/extension/patheffect.h | 40 +++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 src/extension/patheffect.cpp create mode 100644 src/extension/patheffect.h 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 + * + * 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 + * + * 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 : -- 2.30.2