From 72f0559a951e0df3f9bcb38ec3ed01e8e06fd144 Mon Sep 17 00:00:00 2001 From: Michael Schindler Date: Thu, 1 Apr 2004 11:56:49 +0000 Subject: [PATCH] use smoothed() decorator git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@1618 069f4177-920e-0410-937b-c2a4a81bcd90 --- examples/box.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/box.py b/examples/box.py index e3675425..9d0c06e4 100644 --- a/examples/box.py +++ b/examples/box.py @@ -15,5 +15,5 @@ for b in boxes: # plot the boxes path c.stroke(b.path(), [color.rgb.green]) # a second time with bezier rounded corners - c.stroke(b.path(bezierradius=0.5), [color.rgb.red]) + c.stroke(b.path(), [deco.smoothed(radius=0.5), color.rgb.red]) c.writeEPSfile("box") -- 2.11.4.GIT