13
0

fix computation of rectangle bounding box

This commit is contained in:
Paul Davis 2013-10-24 17:13:03 -04:00
parent 097b781209
commit 9d2e4fbec6

View File

@ -114,8 +114,7 @@ void
Rectangle::compute_bounding_box () const Rectangle::compute_bounding_box () const
{ {
Rect r = _rect.fix (); Rect r = _rect.fix ();
_bounding_box = boost::optional<Rect> (r.expand (_outline_width / 2)); _bounding_box = boost::optional<Rect> (r.expand (_outline_width));
_bounding_box_dirty = false; _bounding_box_dirty = false;
} }