|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.ps.PSImageUtils
org.apache.fop.render.ps.PSImageUtils
public class 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 |
generateFormResourceForImage(FopImage img,
org.apache.xmlgraphics.ps.PSResource form,
org.apache.xmlgraphics.ps.PSGenerator gen)
Generates a form resource for a FopImage in PostScript. |
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)
Renders an EPS image to PostScript. |
static void |
renderForm(FopImage img,
org.apache.xmlgraphics.ps.PSResource form,
float x,
float y,
float w,
float h,
org.apache.xmlgraphics.ps.PSGenerator gen)
Renders a bitmap image (as form) to PostScript. |
Methods inherited from class org.apache.xmlgraphics.ps.PSImageUtils |
---|
getRGB, paintForm, paintReusableImage, renderBitmapImage, renderEPS, writeImage, writeReusableImage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.commons.logging.Log log
Constructor Detail |
---|
public PSImageUtils()
Method Detail |
---|
public static void renderBitmapImage(FopImage img, float x, float y, float w, float h, org.apache.xmlgraphics.ps.PSGenerator gen) throws java.io.IOException
img
- image to renderx
- x positiony
- y positionw
- widthh
- heightgen
- PS generator
java.io.IOException
- In case of an I/O problem while rendering the imagepublic static void renderForm(FopImage img, org.apache.xmlgraphics.ps.PSResource form, float x, float y, float w, float h, org.apache.xmlgraphics.ps.PSGenerator gen) throws java.io.IOException
img
- image to renderform
- the form resourcex
- x positiony
- y positionw
- widthh
- heightgen
- PS generator
java.io.IOException
- In case of an I/O problem while rendering the imagepublic static void generateFormResourceForImage(FopImage img, org.apache.xmlgraphics.ps.PSResource form, org.apache.xmlgraphics.ps.PSGenerator gen) throws java.io.IOException
img
- image to renderform
- the form resourcegen
- PS generator
java.io.IOException
- In case of an I/O problem while rendering the imagepublic static void renderEPS(EPSImage img, float x, float y, float w, float h, org.apache.xmlgraphics.ps.PSGenerator gen)
img
- EPS image to renderx
- x positiony
- y positionw
- widthh
- heightgen
- PS generator
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |