mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Merge pull request #23 from radarhere/add-width-to-shapes
Only draw pieslice's inner lines once
This commit is contained in:
commit
5e647d9f69
|
@ -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