From 8fff9a24446f4ff47f6d05e4a1ed7500b29985f3 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 6 Aug 2019 20:03:38 +1000 Subject: [PATCH] Fixed arc drawing bug for a non-whole number of degrees --- .../imagedraw_arc_width_non_whole_angle.png | Bin 0 -> 439 bytes Tests/test_imagedraw.py | 12 ++++++++++++ src/libImaging/Draw.c | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 Tests/images/imagedraw_arc_width_non_whole_angle.png diff --git a/Tests/images/imagedraw_arc_width_non_whole_angle.png b/Tests/images/imagedraw_arc_width_non_whole_angle.png new file mode 100644 index 0000000000000000000000000000000000000000..1fb9a3c8695f96479685664b796f42b488a9852d GIT binary patch literal 439 zcmeAS@N?(olHy`uVBq!ia0vp^DImtIBm-?gPsv&b@Jh2dD)K49-=~yBb{aetX#uLCM&xL$jt{eClrh zWc89?>Kbd;{3~4ZQtNeY(DA~Iv`>ad|6DWtdj7>EyNj+t%}KjX&V9Ff$+4p)!5>Uy zW=&bz_I1meXKJaHiEpP*(VYJ9%Mu;UHODvIQqVljk$rv1nkShS;Z+g0r%Y{aH~qU} z&$Q@B>#0*WrtfrV+xlH<%av2Na(JaqUufMR!*RM1PAuGUUGe1I*M(Q4=l|l1Q^>z_ zVnfxwP3-5oY)>ni>-_cdku|hflc#N1X7}=RKxE9#Df?cJ*LKle|xT^d@u>hP|q+0ye% zmru_B^