summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 33ccd5e)
raw | patch | inline | side by side (parent: 33ccd5e)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 17 Mar 2007 05:01:37 +0000 (05:01 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 17 Mar 2007 05:01:37 +0000 (05:01 +0000) |
src/sp-object.cpp | patch | blob | history |
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index 5c502c335953f738a196565174c403c70d768376..03dc3ec28cd822d972c523ccf82c029f8f1501c3 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;
new (&object->_release_signal) sigc::signal<void, SPObject *>();
new (&object->_position_changed_signal) sigc::signal<void, SPObject *>();
object->_successor = 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->_label = NULL;
object->_default_label = NULL;
}