diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-04-14 14:47:43 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-04-14 14:47:43 +0000 |
commit | 45e74b066f85dc88a36a2385bdfbbef85f766764 (patch) | |
tree | a0f0e575e81f2c4d0a63d52a9376238b6789ca3f /src/java/org/apache/fop/render/ps/PSRenderer.java | |
parent | df97c24632b56eed65206ee97301605ab7f91bcc (diff) | |
download | xmlgraphics-fop-45e74b066f85dc88a36a2385bdfbbef85f766764.tar.gz xmlgraphics-fop-45e74b066f85dc88a36a2385bdfbbef85f766764.zip |
Reverted changes for "ptr" to painter interface as announced in #46705. The pointer value is now provided through the IFContext so only the implementations that support it have to deal with it.
Also, the method signature changes in the renderers are now reverted. They are not necessary.
Found a few other smaller omissions (IFRenderer, IFSerializer) that didn't seem to have been merged properly from Trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764802 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSRenderer.java')
-rw-r--r-- | src/java/org/apache/fop/render/ps/PSRenderer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java index 5b918156b..19fcd8af8 100644 --- a/src/java/org/apache/fop/render/ps/PSRenderer.java +++ b/src/java/org/apache/fop/render/ps/PSRenderer.java @@ -345,7 +345,7 @@ public class PSRenderer extends AbstractPathOrientedRenderer } /** {@inheritDoc} */ - protected void drawImage(String uri, Rectangle2D pos, Map foreignAttributes, String ptr) { + protected void drawImage(String uri, Rectangle2D pos, Map foreignAttributes) { endTextObject(); int x = currentIPPosition + (int)Math.round(pos.getX()); int y = currentBPPosition + (int)Math.round(pos.getY()); @@ -1233,7 +1233,7 @@ public class PSRenderer extends AbstractPathOrientedRenderer * {@inheritDoc} */ public void renderImage(Image image, Rectangle2D pos) { - drawImage(image.getURL(), pos, image.getForeignAttributes(), ""); + drawImage(image.getURL(), pos, image.getForeignAttributes()); } /** |