org.apache.fop.render.ps

Class PSGraphics2DAdapter

Implemented Interfaces:
Graphics2DAdapter

public class PSGraphics2DAdapter
extends java.lang.Object
implements Graphics2DAdapter

Graphics2DAdapter implementation for PostScript.

Constructor Summary

PSGraphics2DAdapter(PSGenerator gen, boolean clip)
Constructor for use without a PSRenderer instance.
PSGraphics2DAdapter(PSRenderer renderer)
Main constructor

Method Summary

void
paintImage(Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)

Constructor Details

PSGraphics2DAdapter

public PSGraphics2DAdapter(PSGenerator gen,
                           boolean clip)
Constructor for use without a PSRenderer instance.
Parameters:
gen - the PostScript generator
clip - true if the image should be clipped

PSGraphics2DAdapter

public PSGraphics2DAdapter(PSRenderer 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

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