aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2004-04-03 09:55:08 +0000
committerJeremias Maerki <jeremias@apache.org>2004-04-03 09:55:08 +0000
commit1715c728ad273c9d581828798234d6e657a00570 (patch)
tree767835c841bb35e0ba54263b31c30c410f71d36f /src/java/org/apache/fop
parent046b03471d8ee542309b1d53b80f03ad3c5b61ab (diff)
downloadxmlgraphics-fop-1715c728ad273c9d581828798234d6e657a00570.tar.gz
xmlgraphics-fop-1715c728ad273c9d581828798234d6e657a00570.zip
Bugzilla 27971
Fix for translated gradients. Submitted by: Gang Liu <gliu.at.actuate.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197486 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/svg/PDFGraphics2D.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/svg/PDFGraphics2D.java b/src/java/org/apache/fop/svg/PDFGraphics2D.java
index 98872eeb0..48d2352b8 100644
--- a/src/java/org/apache/fop/svg/PDFGraphics2D.java
+++ b/src/java/org/apache/fop/svg/PDFGraphics2D.java
@@ -840,6 +840,7 @@ public class PDFGraphics2D extends AbstractGraphics2D {
//boolean cyclic = (cycenum == MultipleGradientPaint.REPEAT);
AffineTransform transform = graphicsState.getTransform();
transform.concatenate(gp.getTransform());
+ transform.concatenate(getTransform());
p1 = transform.transform(p1, null);
p2 = transform.transform(p2, null);