From 9d2e4fbec63b0a0bf49c41b7c46e96d0733214ec Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 24 Oct 2013 17:13:03 -0400 Subject: [PATCH] fix computation of rectangle bounding box --- libs/canvas/rectangle.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/canvas/rectangle.cc b/libs/canvas/rectangle.cc index a5aa0a2895..e3508429b7 100644 --- a/libs/canvas/rectangle.cc +++ b/libs/canvas/rectangle.cc @@ -114,8 +114,7 @@ void Rectangle::compute_bounding_box () const { Rect r = _rect.fix (); - _bounding_box = boost::optional (r.expand (_outline_width / 2)); - + _bounding_box = boost::optional (r.expand (_outline_width)); _bounding_box_dirty = false; }