chiark / gitweb /
When a lot of edges meet the same point - and, in particular, when
authorSimon Tatham <anakin@pobox.com>
Sat, 2 Apr 2011 13:15:56 +0000 (13:15 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 2 Apr 2011 13:15:56 +0000 (13:15 +0000)
commit86f3385d3d669e5561b3c5f272e8695e496da0cf
tree12461e3e87c9cbd8e112de2d669dd0327c9bb44a
parent7b2b742be868b4a12d08f6a9f7af3e9f2923016c
When a lot of edges meet the same point - and, in particular, when
they meet at sharp enough angles that the thick lines overlap
noticeably outside the circle of the point - redrawing the edges in a
different order each time looks ugly. Arrange to always redraw edges
in order of colour, so that empty lines are drawn before indeterminate
lines which in turn come before filled-in lines.

[originally from svn r9136]
loopy.c