From ed98c668ee2215cf4717f57294e1894b19bd90ed Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 11 Jul 2022 06:54:23 +1000 Subject: [PATCH] Fixed PSDraw rectangle --- src/PIL/PSDraw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/PSDraw.py b/src/PIL/PSDraw.py index 743c35f01..7d652020a 100644 --- a/src/PIL/PSDraw.py +++ b/src/PIL/PSDraw.py @@ -93,9 +93,9 @@ class PSDraw: .. code-block:: python - %d %d M %d %d 0 Vr\n + %d %d M 0 %d %d Vr\n """ - self.fp.write(b"%d %d M %d %d 0 Vr\n" % box) + self.fp.write(b"%d %d M 0 %d %d Vr\n" % box) def text(self, xy, text): """