alter arrow drawing to fully close path and thus avoid cairo mitering variability
This commit is contained in:
parent
97da762c50
commit
54e101eb3f
@ -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…
Reference in New Issue
Block a user