summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 863a77a)
raw | patch | inline | side by side (parent: 863a77a)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 13 Mar 2007 04:43:49 +0000 (04:43 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 13 Mar 2007 04:43:49 +0000 (04:43 +0000) |
src/sp-object.cpp | patch | blob | history |
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index b97aa4513abecefe7f7171c4a9c98cc62313434f..5c502c335953f738a196565174c403c70d768376 100644 (file)
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
object->repr = NULL;
object->id = NULL;
+ // FIXME: now we create style for all objects, but per SVG, only the following can have style attribute:
+ // vg, g, defs, desc, title, symbol, use, image, switch, path, rect, circle, ellipse, line, polyline,
+ // polygon, text, tspan, tref, textPath, altGlyph, glyphRef, marker, linearGradient, radialGradient,
+ // stop, pattern, clipPath, mask, filter, feImage, a, font, glyph, missing-glyph, foreignObject
object->style = sp_style_new_from_object(object);
object->_collection_policy = SPObject::COLLECT_WITH_PARENT;