org.apache.fop.render.pdf

Class PDFGraphics2DAdapter

Implemented Interfaces:
Graphics2DAdapter

public class PDFGraphics2DAdapter
extends AbstractGraphics2DAdapter

Graphics2DAdapter implementation for PDF.

Constructor Summary

PDFGraphics2DAdapter(PDFRenderer renderer)
Main constructor

Method Summary

void
paintImage(Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
protected void
setRenderingHintsForBufferedImage(Graphics2D g2d)

Methods inherited from class org.apache.fop.render.AbstractGraphics2DAdapter

paintToBufferedImage, setRenderingHintsForBufferedImage

Constructor Details

PDFGraphics2DAdapter

public PDFGraphics2DAdapter(PDFRenderer renderer)
Main constructor
Parameters:
renderer - the Renderer instance to which this instance belongs

Method Details

paintImage

public void paintImage(Graphics2DImagePainter painter,
                       RendererContext context,
                       int x,
                       int y,
                       int width,
                       int height)
            throws IOException
Specified by:
paintImage in interface Graphics2DAdapter

setRenderingHintsForBufferedImage

protected void setRenderingHintsForBufferedImage(Graphics2D g2d)
Overrides:
setRenderingHintsForBufferedImage in interface AbstractGraphics2DAdapter
See Also:
org.apache.fop.render.AbstractGraphics2DAdapter.setRenderingHintsForBufferedImage( java.awt.Graphics2D)

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.