mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
commit
b3a3c22c97
|
@ -434,7 +434,7 @@ polygon_generic(Imaging im, int n, Edge *e, int ink, int eofill,
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
/* This causes that the pixels of horizontal edges are drawn twice :(
|
/* This causes the pixels of horizontal edges to be drawn twice :(
|
||||||
* but without it there are inconsistencies in ellipses */
|
* but without it there are inconsistencies in ellipses */
|
||||||
if (e[i].ymin == e[i].ymax) {
|
if (e[i].ymin == e[i].ymax) {
|
||||||
(*hline)(im, e[i].xmin, e[i].ymin, e[i].xmax, ink);
|
(*hline)(im, e[i].xmin, e[i].ymin, e[i].xmax, ink);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user