pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1773897 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
Date Mon, 12 Dec 2016 22:46:08 GMT
Author: tilman
Date: Mon Dec 12 22:46:08 2016
New Revision: 1773897

URL: http://svn.apache.org/viewvc?rev=1773897&view=rev
Log:
PDFBOX-3000: save and restore windingrule when drawing tile pattern

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java?rev=1773897&r1=1773896&r2=1773897&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java Mon
Dec 12 22:46:08 2016
@@ -214,6 +214,8 @@ public class PageDrawer extends PDFGraph
 
         GeneralPath oldLinePath = linePath;
         linePath = new GeneralPath();
+        int oldClipWindingRule = clipWindingRule;
+        clipWindingRule = -1;
 
         Area oldLastClip = lastClip;
         lastClip = null;
@@ -224,6 +226,7 @@ public class PageDrawer extends PDFGraph
         graphics = oldGraphics;
         linePath = oldLinePath;
         lastClip = oldLastClip;
+        clipWindingRule = oldClipWindingRule;
     }
 
     /**



Mime
View raw message