fop 0.91beta

org.apache.fop.render.ps
Class PSGraphics2DAdapter

java.lang.Object
  |
  +--org.apache.fop.render.ps.PSGraphics2DAdapter
All Implemented Interfaces:
Graphics2DAdapter

public class PSGraphics2DAdapter
extends java.lang.Object
implements Graphics2DAdapter

Graphics2DAdapter implementation for PostScript.


Constructor Summary
PSGraphics2DAdapter(PSRenderer renderer)
          Main constructor
 
Method Summary
 void paintImage(Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PSGraphics2DAdapter

public PSGraphics2DAdapter(PSRenderer renderer)
Main constructor
Parameters:
renderer - the Renderer instance to which this instance belongs
Method Detail

paintImage

public void paintImage(Graphics2DImagePainter painter,
                       RendererContext context,
                       int x,
                       int y,
                       int width,
                       int height)
                throws java.io.IOException
Description copied from interface: Graphics2DAdapter
Paints an arbitrary images on a given Graphics2D instance. The renderer providing this functionality must set up a Graphics2D instance so that the image with the given extents (in mpt) can be painted by the painter passed to this method. The Graphics2DImagePainter is then passed this Graphics2D instance so the image can be painted.
Specified by:
paintImage in interface Graphics2DAdapter
See Also:
Graphics2DAdapter

fop 0.91beta

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