13
0

alter arrow drawing to fully close path and thus avoid cairo mitering variability

This commit is contained in:
Paul Davis 2013-04-10 10:27:37 -04:00
parent 97da762c50
commit 54e101eb3f

View File

@ -203,6 +203,7 @@ Arrow::setup_polygon (int which)
points.push_back (Duple (0, 0));
points.push_back (Duple (_heads[which].width, 0));
points.push_back (Duple (_heads[which].width / 2, _heads[which].height));
points.push_back (Duple (0, 0));
}
_heads[which].polygon->set (points);