mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-19 04:50:57 +03:00
This tests are designed to guarantee that the wide lines behave exactly like normal lines drawn with the Bresenham's algorithm. This tests are somewhat subjective since this is non-defined behavior, but I think that mimic the Bresenham's algorithm is reliable enough. Currently the horizontal version of this test **fail**.
153 B
20x20px
153 B
20x20px
![](/python-pillow/Pillow/raw/commit/1c4f29f2ce7e0537ca4f7a1a9691e5a1dcb909da/Tests/images/imagedraw/line_vertical_slope1px_w2px.png)