index 834877f369a803a172d865931bed5f067c14fb6a..bb2b908deeb4fab3a9ef74b5e346b651a079c242 100644 (file)
SPItem *item = SP_ITEM(lpeitem);
Geom::Matrix t = sp_item_i2d_affine(item);
- Geom::Rect bbox = item->getBounds(t);
+ Geom::Rect bbox = to_2geom(*item->getBounds(t)); // fixme: what happens if getBounds does not return a valid rect?
Point A(bbox.left(), bbox.bottom());
Point B(bbox.left(), bbox.top());