summaryrefslogtreecommitdiffstats
path: root/src/style.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/style.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/style.h')
-rw-r--r--src/style.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/style.h b/src/style.h
index 703a55fdb..3c070a22a 100644
--- a/src/style.h
+++ b/src/style.h
@@ -16,6 +16,7 @@
#include "color.h"
#include "forward.h"
#include "sp-marker-loc.h"
+#include "sp-filter.h"
namespace Inkscape {
namespace XML {
@@ -166,6 +167,14 @@ struct SPIPaint {
SVGICCColor *iccColor;
};
+/// Filter type internal to SPStyle
+struct SPIFilter {
+ unsigned set : 1;
+ unsigned inherit : 1;
+ SPFilter *filter;
+ gchar *uri;
+};
+
enum {
SP_FONT_SIZE_LITERAL,
SP_FONT_SIZE_LENGTH,
@@ -322,6 +331,9 @@ struct SPStyle {
/** Marker list */
SPIString marker[SP_MARKER_LOC_QTY];
+ /** Filter effect */
+ SPIFilter filter;
+
/// style belongs to a cloned object, must not href anything
bool cloned;
/// style has hreffed its fill/stroke paintservers, needs to release.