diff options
author | Jeremias Maerki <jeremias@apache.org> | 2004-04-03 09:55:08 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2004-04-03 09:55:08 +0000 |
commit | 1715c728ad273c9d581828798234d6e657a00570 (patch) | |
tree | 767835c841bb35e0ba54263b31c30c410f71d36f /src/java/org/apache/fop | |
parent | 046b03471d8ee542309b1d53b80f03ad3c5b61ab (diff) | |
download | xmlgraphics-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.java | 1 |
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); |