pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1621494 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java
Date Sat, 30 Aug 2014 16:53:05 GMT
Author: tilman
Date: Sat Aug 30 16:53:04 2014
New Revision: 1621494

URL: http://svn.apache.org/r1621494
Log:
PDFBOX-1094: pass the initial substream matrix and the graphics transform to the paint methods
(no change in functionality yet), remove unused methods

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java?rev=1621494&r1=1621493&r2=1621494&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDPattern.java
Sat Aug 30 16:53:04 2014
@@ -116,12 +116,12 @@ public final class PDPattern extends PDS
             if (tilingPattern.getPaintType() == PDTilingPattern.PAINT_COLORED)
             {
                 // colored tiling pattern
-                return new TilingPaint(renderer, tilingPattern);
+                return new TilingPaint(renderer, tilingPattern, subStreamMatrix, xform);
             }
             else
             {
                 // uncolored tiling pattern
-                return new TilingPaint(renderer, tilingPattern, underlyingColorSpace, color);
+                return new TilingPaint(renderer, tilingPattern, underlyingColorSpace, color,
subStreamMatrix, xform);
             }
         }
         else



Mime
View raw message