Fixed PSDraw rectangle

This commit is contained in:
Andrew Murray 2022-07-11 06:54:23 +10:00
parent dfe2cb7620
commit ed98c668ee

View File

@ -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):
"""