diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-24 17:13:03 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-24 17:13:03 -0400 |
commit | 9d2e4fbec63b0a0bf49c41b7c46e96d0733214ec (patch) | |
tree | 4caf1e7e39719d5784e3d97d35c7f4c88dc1dae1 /libs/canvas/rectangle.cc | |
parent | 097b781209f0ef66a0a26c188d6f50d163efcf4f (diff) |
fix computation of rectangle bounding box
Diffstat (limited to 'libs/canvas/rectangle.cc')
-rw-r--r-- | libs/canvas/rectangle.cc | 3 |
1 files changed, 1 insertions, 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<Rect> (r.expand (_outline_width / 2)); - + _bounding_box = boost::optional<Rect> (r.expand (_outline_width)); _bounding_box_dirty = false; } |