Only draw pieslice's inner lines once

This commit is contained in:
Andrew Murray 2018-09-29 21:44:25 +10:00
parent e266b033d1
commit d6d61b35dc

View File

@ -854,7 +854,7 @@ ellipse(Imaging im, int x0, int y0, int x1, int y1,
if (i != start) {
if (mode == PIESLICE) {
if (x != cx || y != cy) {
if (j == 0 && (x != cx || y != cy)) {
if (width == 1) {
draw->line(im, x, y, cx, cy, ink);
draw->line(im, cx, cy, sx, sy, ink);