diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-08-05 15:31:00 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-08-05 15:31:00 +0000 |
commit | 83abc0b9b18852ffed4533d18f27e1b27df081b5 (patch) | |
tree | 7659b6be4f8f6183f8625a343caed2f7606f6909 /src/java/org/apache/fop/render/ImageAdapter.java | |
parent | 46631569e9ccd7e2a179b0c6d1349fa7451ccc70 (diff) | |
download | xmlgraphics-fop-83abc0b9b18852ffed4533d18f27e1b27df081b5.tar.gz xmlgraphics-fop-83abc0b9b18852ffed4533d18f27e1b27df081b5.zip |
First steps at unified image handling as proposed on http://wiki.apache.org/xmlgraphics-fop/ImageSupport/ImageHandler. This shall serve as a preview to motivate early feedback if anyone is interested.
Basic external-graphic support now available for PDF and SVG painters (for PDF: RenderedImage, SVG, JPEG, CCITT and Java2D, for SVG: embedded SVG and RFC2397 data URLs containing PNG and JPEG images)
Change to IFPainter: added support for foreign attributes for the "image" tag.
PDFContentGenerator introduced to hold the most important objects for PDF generation (unification for renderer and painter).
Re-routed most image handling through the new image handling code (not fully done, yet, some code duplication remains).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@682757 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ImageAdapter.java')
-rw-r--r-- | src/java/org/apache/fop/render/ImageAdapter.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/render/ImageAdapter.java b/src/java/org/apache/fop/render/ImageAdapter.java index a67d43bdc..757be43b1 100644 --- a/src/java/org/apache/fop/render/ImageAdapter.java +++ b/src/java/org/apache/fop/render/ImageAdapter.java @@ -34,10 +34,10 @@ public interface ImageAdapter { * Paints an image at the given position. * @param image the image which will be painted * @param context the renderer context for the current renderer - * @param x X position of the image - * @param y Y position of the image - * @param width width of the image - * @param height height of the image + * @param x X position of the image (in millipoints) + * @param y Y position of the image (in millipoints) + * @param width width of the image (in millipoints) + * @param height height of the image (in millipoints) * @throws IOException In case of an I/O error while writing the output format */ void paintImage(RenderedImage image, |