add missing serialization of marker width and height

This commit is contained in:
Dane Springmeyer 2011-02-02 03:47:52 +00:00
parent 3197bea9ee
commit c8b816e498

View File

@ -281,6 +281,14 @@ public:
{
set_attr( sym_node, "fill", sym.get_fill() );
}
if (sym.get_width() != dfl.get_width() || explicit_defaults_)
{
set_attr( sym_node, "width", sym.get_width() );
}
if (sym.get_height() != dfl.get_height() || explicit_defaults_)
{
set_attr( sym_node, "height", sym.get_height() );
}
const stroke & strk = sym.get_stroke();
add_stroke_attributes(sym_node, strk);