mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 13:46:57 +03:00
Merge pull request #22 from radarhere/add-width-to-shapes
Removed less than condition
This commit is contained in:
commit
64f5fbbdcf
|
@ -855,7 +855,7 @@ ellipse(Imaging im, int x0, int y0, int x1, int y1,
|
||||||
if (i != start) {
|
if (i != start) {
|
||||||
if (mode == PIESLICE) {
|
if (mode == PIESLICE) {
|
||||||
if (x != cx || y != cy) {
|
if (x != cx || y != cy) {
|
||||||
if (width <= 1) {
|
if (width == 1) {
|
||||||
draw->line(im, x, y, cx, cy, ink);
|
draw->line(im, x, y, cx, cy, ink);
|
||||||
draw->line(im, cx, cy, sx, sy, ink);
|
draw->line(im, cx, cy, sx, sy, ink);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user