summaryrefslogtreecommitdiffstats
path: root/src/sp-filter.h
diff options
context:
space:
mode:
authorNiko Kiirala <niko@kiirala.com>2006-06-21 16:04:22 +0000
committerkiirala <kiirala@users.sourceforge.net>2006-06-21 16:04:22 +0000
commitd331e75a28fc513289d24bc0dc10ef7be26da888 (patch)
tree2b9cae58f7256a2e12625068a54299911859e63e /src/sp-filter.h
parentit seems we don't have "required" anymore (diff)
downloadinkscape-d331e75a28fc513289d24bc0dc10ef7be26da888.tar.gz
inkscape-d331e75a28fc513289d24bc0dc10ef7be26da888.zip
svg-filters branch merged back to head
(bzr r1252)
Diffstat (limited to 'src/sp-filter.h')
-rw-r--r--src/sp-filter.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/sp-filter.h b/src/sp-filter.h
new file mode 100644
index 000000000..74cb1bfa8
--- /dev/null
+++ b/src/sp-filter.h
@@ -0,0 +1,70 @@
+#ifndef SP_FILTER_H_SEEN
+#define SP_FILTER_H_SEEN
+
+/** \file
+ * SVG <filter> implementation, see sp-filter.cpp.
+ */
+/*
+ * Authors:
+ * Hugo Rodrigues <haa.rodrigues@gmail.com>
+ *
+ * Copyright (C) 2006 Hugo Rodrigues
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "number-opt-number.h"
+#include "sp-object.h"
+#include "sp-filter-units.h"
+#include "svg/svg-length.h"
+
+/* Filter base class */
+
+/* MACROS DEFINED IN FILE sp-filter-fns.h */
+
+struct SPFilterReference;
+
+class SPFilter;
+class SPFilterClass;
+
+struct SPFilter : public SPObject {
+
+ /** filterUnits attribute */
+ SPFilterUnits filterUnits;
+ guint filterUnits_set : 1;
+ /** primitiveUnits attribute */
+ SPFilterUnits primitiveUnits;
+ guint primitiveUnits_set : 1;
+ /** X attribute */
+ SVGLength x;
+ /** Y attribute */
+ SVGLength y;
+ /** WIDTH attribute */
+ SVGLength width;
+ /** HEIGHT attribute */
+ SVGLength height;
+ /** FILTERRES attribute */
+ NumberOptNumber filterRes;
+ /** HREF attribute */
+ SPFilterReference *href;
+};
+
+struct SPFilterClass {
+ SPObjectClass parent_class;
+};
+
+#include "sp-filter-fns.h"
+
+
+#endif /* !SP_FILTER_H_SEEN */
+
+/*
+ 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:encoding=utf-8:textwidth=99 :