Code

fix compositing for premultiplication and non-alpha cases
[inkscape.git] / src / live_effects / effect.h
index 0ebd5d5a586da4372f3998550f13eb446c005541..f3c415269dc52890710372f57d83b6af2f903322 100644 (file)
@@ -19,6 +19,8 @@
 \r
 #define  LPE_CONVERSION_TOLERANCE 0.01    // FIXME: find good solution for this.\r
 \r
+//#define LPE_ENABLE_TEST_EFFECTS\r
+\r
 struct SPShape;\r
 struct SPDocument;\r
 class NArtBpath;\r
@@ -34,20 +36,22 @@ namespace Inkscape {
 \r
 namespace XML {\r
     class Node;\r
-};\r
+}\r
 \r
 namespace LivePathEffect {\r
 \r
 enum EffectType {\r
-    INVALID_LPE = 0,\r
-    SKELETAL_STROKES,\r
+    SKELETAL_STROKES = 0,\r
+#ifdef LPE_ENABLE_TEST_EFFECTS\r
     SLANT,\r
     DOEFFECTSTACK_TEST,\r
+#endif\r
     GEARS,\r
-    ENDTYPE_LPE // This must be last\r
+    CURVE_STITCH,\r
+    INVALID_LPE // This must be last\r
 };\r
 \r
-extern const Util::EnumData<EffectType> LPETypeData[ENDTYPE_LPE];\r
+extern const Util::EnumData<EffectType> LPETypeData[INVALID_LPE];\r
 extern const Util::EnumDataConverter<EffectType> LPETypeConverter;\r
 \r
 class Parameter;\r
@@ -102,7 +106,7 @@ private:
 };\r
 \r
 \r
-}; //namespace LivePathEffect\r
-}; //namespace Inkscape\r
+} //namespace LivePathEffect\r
+} //namespace Inkscape\r
 \r
 #endif\r