fix computation of rectangle bounding box
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 24 Oct 2013 21:13:03 +0000 (17:13 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 24 Oct 2013 21:13:03 +0000 (17:13 -0400)
libs/canvas/rectangle.cc

index a5aa0a2895852dc4b46c4a9988a0e21254627ea2..e3508429b7c39263755dc913da52e35056524ef8 100644 (file)
@@ -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;
 }