org.apache.fop.render.ps
Class PSImageUtils
org.apache.xmlgraphics.ps.PSImageUtilsorg.apache.fop.render.ps.PSImageUtils
public class PSImageUtils
extends org.apache.xmlgraphics.ps.PSImageUtils
Utility code for rendering images in PostScript.
protected static Log | log- logging instance
|
static void | generateFormResourceForImage(FopImage img, PSResource form, PSGenerator gen)- Generates a form resource for a FopImage in PostScript.
|
static void | renderBitmapImage(FopImage img, float x, float y, float w, float h, PSGenerator gen)- Renders a bitmap image to PostScript.
|
static void | renderEPS(EPSImage img, float x, float y, float w, float h, PSGenerator gen)- Renders an EPS image to PostScript.
|
static void | renderForm(FopImage img, PSResource form, float x, float y, float w, float h, PSGenerator gen)- Renders a bitmap image (as form) to PostScript.
|
log
protected static Log log
logging instance
generateFormResourceForImage
public static void generateFormResourceForImage(FopImage img,
PSResource form,
PSGenerator gen)
throws IOException Generates a form resource for a FopImage in PostScript.
img - image to renderform - the form resourcegen - PS generator
renderBitmapImage
public static void renderBitmapImage(FopImage img,
float x,
float y,
float w,
float h,
PSGenerator gen)
throws IOException Renders a bitmap image to PostScript.
img - image to renderx - x positiony - y positionw - widthh - heightgen - PS generator
renderEPS
public static void renderEPS(EPSImage img,
float x,
float y,
float w,
float h,
PSGenerator gen) Renders an EPS image to PostScript.
img - EPS image to renderx - x positiony - y positionw - widthh - heightgen - PS generator
renderForm
public static void renderForm(FopImage img,
PSResource form,
float x,
float y,
float w,
float h,
PSGenerator gen)
throws IOException Renders a bitmap image (as form) to PostScript.
img - image to renderform - the form resourcex - x positiony - y positionw - widthh - heightgen - PS generator
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.