projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fba29a
)
Close polygon borders (fix partially drawn hits).
author
David Robillard
<d@drobilla.net>
Thu, 8 Jan 2015 02:25:52 +0000
(21:25 -0500)
committer
David Robillard
<d@drobilla.net>
Thu, 8 Jan 2015 16:09:38 +0000
(11:09 -0500)
libs/canvas/polygon.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/polygon.cc
b/libs/canvas/polygon.cc
index aa16a6017844c2cc6f3ba816eabac5b8ecd5f08d..fdc1061d743dd3c201367f50a740f720ff468251 100644
(file)
--- a/
libs/canvas/polygon.cc
+++ b/
libs/canvas/polygon.cc
@@
-52,7
+52,7
@@
Polygon::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
if (!_points.empty ()) {
/* close path */
Duple p = item_to_window (Duple (_points.front().x, _points.front().y));
- context->
mov
e_to (p.x, p.y);
+ context->
lin
e_to (p.x, p.y);
}
}