Fix radius handling of rectangularHole()

This commit is contained in:
Florian Festi 2016-03-15 20:28:44 +01:00
parent a6c590af31
commit 2b84c15cf4
1 changed files with 1 additions and 1 deletions

View File

@ -882,7 +882,7 @@ See --sy for format""")
self.moveTo(x+r-dx/2.0, y-dy/2.0, 180)
for d in (dy, dx, dy, dx):
self.corner(-90, r)
self.edge(d)
self.edge(d-2*r)
@restore
def text(self, text, x=0, y=0, angle=0, align=""):