mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
alter arrow drawing to fully close path and thus avoid cairo mitering variability
This commit is contained in:
parent
97da762c50
commit
54e101eb3f
1 changed files with 1 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ Arrow::setup_polygon (int which)
|
||||||
points.push_back (Duple (0, 0));
|
points.push_back (Duple (0, 0));
|
||||||
points.push_back (Duple (_heads[which].width, 0));
|
points.push_back (Duple (_heads[which].width, 0));
|
||||||
points.push_back (Duple (_heads[which].width / 2, _heads[which].height));
|
points.push_back (Duple (_heads[which].width / 2, _heads[which].height));
|
||||||
|
points.push_back (Duple (0, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
_heads[which].polygon->set (points);
|
_heads[which].polygon->set (points);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue