From 8228caf14daf94c5bd970edcc9344fa076184075 Mon Sep 17 00:00:00 2001 From: Terseus Date: Wed, 9 Apr 2014 17:39:52 +0200 Subject: [PATCH] =?UTF-8?q?Added=20some=20oblique=2045=C2=BA=20lines=20tes?= =?UTF-8?q?ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only the oblique 3 pixels wide lines are defined: * The oblique 2 pixels wide lines are somewhat hard to define. * To define the oblique lines wider than 3 pixels we neet to define first how the oblique lines should expand their width (realistic or exact). --- .../imagedraw/line_oblique_45_w3px_a.png | Bin 0 -> 182 bytes .../imagedraw/line_oblique_45_w3px_b.png | Bin 0 -> 179 bytes Tests/test_imagedraw.py | 19 ++++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 Tests/images/imagedraw/line_oblique_45_w3px_a.png create mode 100644 Tests/images/imagedraw/line_oblique_45_w3px_b.png diff --git a/Tests/images/imagedraw/line_oblique_45_w3px_a.png b/Tests/images/imagedraw/line_oblique_45_w3px_a.png new file mode 100644 index 0000000000000000000000000000000000000000..55c535e29c7970fedfaf710ca1a8cc67efcf47ce GIT binary patch literal 182 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1SFYWcSQjy&H|6fVg?3oVGw3ym^DWND9B#o z>FdgVkA;(8nm=yu`evX|sHcl#h{frrlMVR}7;rGZ|KI=V`iUtEgA~>+_exFZ^mA`< z3<^!1J7da`>1P}=(ynJ4pFee$um0cWlk@NU?7O@9aDVXKAKr)3?%i-dAAR%OS?9E$ b4{i06g=S3gTe~DWM4fJi9@C literal 0 HcmV?d00001 diff --git a/Tests/images/imagedraw/line_oblique_45_w3px_b.png b/Tests/images/imagedraw/line_oblique_45_w3px_b.png new file mode 100644 index 0000000000000000000000000000000000000000..8c1036559cc72b285623cfbcb7559d64c5c7801e GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1SFYWcSQjy&H|6fVg?3oVGw3ym^DWND9B#o z>FdgVkA;(8#q#7$0X3jdkf)1dh{frvm#u{u6gZp@-uWM}Qz}f%>V$goLXndEZHyC4 zjB}m!JRem`HfSXKMIW=`wbT%{)Kj+9?JrvT