org.apache.fop.render.ps
Class PSGraphics2DAdapter
java.lang.Object
org.apache.fop.render.ps.PSGraphics2DAdapter
- Graphics2DAdapter
public class PSGraphics2DAdapter
extends java.lang.Object
Graphics2DAdapter implementation for PostScript.
PSGraphics2DAdapter
public PSGraphics2DAdapter(PSGenerator gen,
boolean clip)
Constructor for use without a PSRenderer instance.
gen
- the PostScript generatorclip
- true if the image should be clipped
PSGraphics2DAdapter
public PSGraphics2DAdapter(PSRenderer renderer)
Main constructor
renderer
- the Renderer instance to which this instance belongs
paintImage
public void paintImage(Graphics2DImagePainter painter,
RendererContext context,
int x,
int y,
int width,
int height)
throws IOException
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.