fop 0.93

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
 
Constructor Summary
PSImageUtils()
           
 
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
 

Field Detail

log

protected static org.apache.commons.logging.Log log
logging instance
Constructor Detail

PSImageUtils

public PSImageUtils()
Method Detail

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 render
x - x position
y - y position
w - width
h - height
gen - 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)

fop 0.93

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