Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix x0>x1 error for rect fills, per new Pillow
Pillow 9.5 throws an error when you try to draw a rectangle where x0>x1 or top>bottom. For rects with small width or height but thick strokes, we ended up hitting that error because we were trying to subtract the stroke width from the area to be filled.
- Loading branch information