From 2b84c15cf434c4207c9098c55e14c8d68a628c7f Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Tue, 15 Mar 2016 20:28:44 +0100 Subject: [PATCH] Fix radius handling of rectangularHole() --- boxes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes.py b/boxes.py index 7606efc..e65ac08 100755 --- a/boxes.py +++ b/boxes.py @@ -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=""):