Code

Fixes calligraphy tool so drawing now uses the the correct opacity.
[inkscape.git] / src / sp-object-repr.cpp
index 4b631f3d57664cad90e944b32c8b054aa5e6e825..0f2ff9e6a5f7439c318b85459116e726c2cd0ddc 100644 (file)
@@ -40,6 +40,8 @@
 #include "sp-flowregion.h"
 #include "sp-flowtext.h"
 #include "sp-style-elem.h"
+#include "sp-switch.h"
+#include "color-profile-fns.h"
 #include "xml/repr.h"
 
 enum NameType { REPR_NAME, SODIPODI_TYPE };
@@ -94,6 +96,7 @@ populate_dtables()
         { "svg:a", SP_TYPE_ANCHOR },
         //{ "svg:animate", SP_TYPE_ANIMATE },
         { "svg:circle", SP_TYPE_CIRCLE },
+        { "svg:color-profile", COLORPROFILE_TYPE },
         { "svg:clipPath", SP_TYPE_CLIPPATH },
         { "svg:defs", SP_TYPE_DEFS },
         { "svg:ellipse", SP_TYPE_ELLIPSE },
@@ -123,7 +126,7 @@ populate_dtables()
         { "svg:stop", SP_TYPE_STOP },
         { "svg:svg", SP_TYPE_ROOT },
         { "svg:style", SP_TYPE_STYLE_ELEM },
-        { "svg:switch", SP_TYPE_GROUP },
+        { "svg:switch", SP_TYPE_SWITCH },
         { "svg:symbol", SP_TYPE_SYMBOL },
         { "svg:text", SP_TYPE_TEXT },
         { "svg:textPath", SP_TYPE_TEXTPATH },