From 96754bfb71b05d599dc35bac6469e4bfc33904b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Mon, 30 Aug 2004 15:14:16 +0000 Subject: [PATCH] stroke/fill logic git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@1851 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/deco.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyx/deco.py b/pyx/deco.py index 71d311e7..d7d4a8a3 100644 --- a/pyx/deco.py +++ b/pyx/deco.py @@ -193,7 +193,7 @@ class decoratedpath(base.canvasitem): if self.fillstyles: file.write("grestore\n") - if self.strokestyles is not None and strokepath is not fillpath: + if (self.strokestyles is not None and strokepath is not fillpath) or self.fillstyles is None: # this is the only relevant case still left # Note that a possible stroking has already been done. @@ -272,7 +272,7 @@ class decoratedpath(base.canvasitem): if self.fillstyles: file.write("Q\n") # grestore - if self.strokestyles is not None and strokepath is not fillpath: + if (self.strokestyles is not None and strokepath is not fillpath) or self.fillstyles is None: # this is the only relevant case still left # Note that a possible stroking has already been done. -- 2.11.4.GIT