Code

Patch from codedread. Prevents rendering of title/desc/metadata elements in text...
[inkscape.git] / src / sp-fecomposite.h
index 4421ebbf254e59ca1c19d952d4c8530fb9777da1..280eae14511ba984831cd6c32663d0c24cad3e93 100644 (file)
 #include "sp-filter.h"
 #include "sp-fecomposite-fns.h"
 
+enum FeCompositeOperator {
+    // Default value is 'over', but let's distinquish specifying the
+    // default and implicitely using the default
+    COMPOSITE_DEFAULT,
+    COMPOSITE_OVER,
+    COMPOSITE_IN,
+    COMPOSITE_OUT,
+    COMPOSITE_ATOP,
+    COMPOSITE_XOR,
+    COMPOSITE_ARITHMETIC,
+    COMPOSITE_ENDOPERATOR
+};
+
 /* FeComposite base class */
 class SPFeCompositeClass;
 
 struct SPFeComposite : public SPFilterPrimitive {
-    /** COMPOSITE ATTRIBUTES HERE */
-    
+    FeCompositeOperator composite_operator;
+    double k1, k2, k3, k4;
+    int in2;
 };
 
 struct SPFeCompositeClass {