projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097b781
)
fix computation of rectangle bounding box
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 24 Oct 2013 21:13:03 +0000
(17:13 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 24 Oct 2013 21:13:03 +0000
(17:13 -0400)
libs/canvas/rectangle.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/rectangle.cc
b/libs/canvas/rectangle.cc
index a5aa0a2895852dc4b46c4a9988a0e21254627ea2..e3508429b7c39263755dc913da52e35056524ef8 100644
(file)
--- 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;
}