From c1fe0b4e0c4319926c3322ebf0ea60dd52b9c539 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 23 Jun 2020 19:17:00 +1000 Subject: [PATCH] Use hypot function --- .../imagedraw_wide_line_larger_than_int.png | Bin 0 -> 557 bytes Tests/test_imagedraw.py | 13 +++++++++++++ src/libImaging/Draw.c | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Tests/images/imagedraw_wide_line_larger_than_int.png diff --git a/Tests/images/imagedraw_wide_line_larger_than_int.png b/Tests/images/imagedraw_wide_line_larger_than_int.png new file mode 100644 index 0000000000000000000000000000000000000000..68073ce48276fb22191fbe03612f32955ec9b48d GIT binary patch literal 557 zcmV+|0@D47P)Nkl!vb;ZKDS8psldkw(Ct=AYVe0mMT!lBnlEWCLQ#=@1?cr5&QnZUw{ zmlZ5Lcp1XNyq7I3Y;-94y*< zg~Fn-S2QeIdIiLynO96K+IWS