mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-15 19:10:53 +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**.
147 B
20x20px
147 B
20x20px
![](/python-pillow/Pillow/raw/commit/22b8b25f2f9de99a88e1ed71cad333c92b67abe9/Tests/images/imagedraw/line_horizontal_slope1px_w2px.png)