return correct height for svg vector

This commit is contained in:
Dane Springmeyer 2013-05-21 19:40:33 -07:00
parent 8aae463c10
commit 99071d1253

View file

@ -141,7 +141,7 @@ double marker::height() const
if (is_bitmap()) if (is_bitmap())
return (*bitmap_data_)->height(); return (*bitmap_data_)->height();
else if (is_vector()) else if (is_vector())
return (*vector_data_)->height(); return (*vector_data_)->bounding_box().height();
return 0; return 0;
} }