org.apache.fop.render.ps
Class PSImageUtils
java.lang.Object
org.apache.xmlgraphics.ps.PSImageUtils
org.apache.fop.render.ps.PSImageUtils
- public class PSImageUtils
- extends org.apache.xmlgraphics.ps.PSImageUtils
Utility code for rendering images in PostScript.
Field Summary |
protected static org.apache.commons.logging.Log |
log
logging instance |
Method Summary |
static void |
renderBitmapImage(FopImage img,
float x,
float y,
float w,
float h,
org.apache.xmlgraphics.ps.PSGenerator gen)
Renders a bitmap image to PostScript. |
static void |
renderEPS(EPSImage img,
float x,
float y,
float w,
float h,
org.apache.xmlgraphics.ps.PSGenerator gen)
|
Methods inherited from class org.apache.xmlgraphics.ps.PSImageUtils |
getRGB, renderBitmapImage, renderEPS, writeImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
- logging instance
PSImageUtils
public PSImageUtils()
renderBitmapImage
public static void renderBitmapImage(FopImage img,
float x,
float y,
float w,
float h,
org.apache.xmlgraphics.ps.PSGenerator gen)
throws java.io.IOException
- Renders a bitmap image to PostScript.
- Parameters:
img
- image to renderx
- x positiony
- y positionw
- widthh
- heightgen
- PS generator
- Throws:
java.io.IOException
- In case of an I/O problem while rendering the image
renderEPS
public static void renderEPS(EPSImage img,
float x,
float y,
float w,
float h,
org.apache.xmlgraphics.ps.PSGenerator gen)
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.