mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Only draw pieslice's inner lines once
This commit is contained in:
parent
e266b033d1
commit
d6d61b35dc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user