|
fop 1.1 | |||||||||
| 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.
| Constructor Summary | |
|---|---|
PSImageUtils()
|
|
| Method Summary | |
|---|---|
static void |
drawForm(org.apache.xmlgraphics.ps.PSResource form,
org.apache.xmlgraphics.image.loader.ImageInfo info,
java.awt.Rectangle rect,
org.apache.xmlgraphics.ps.PSGenerator generator)
Draws a form at a given location. |
static boolean |
isImageInlined(org.apache.xmlgraphics.image.loader.ImageInfo info,
PSRenderingContext renderingContext)
Indicates whether the given image (identified by an ImageInfo object) shall be
inlined rather than generated as a PostScript form. |
| Methods inherited from class org.apache.xmlgraphics.ps.PSImageUtils |
|---|
getRGB, paintForm, paintForm, paintReusableImage, renderBitmapImage, renderEPS, renderEPS, translateAndScale, writeImage, writeImage, writeImage, writeReusableImage, writeReusableImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PSImageUtils()
| Method Detail |
|---|
public static boolean isImageInlined(org.apache.xmlgraphics.image.loader.ImageInfo info,
PSRenderingContext renderingContext)
ImageInfo object) shall be
inlined rather than generated as a PostScript form.
info - the info object for the imagerenderingContext - the rendering context
public static void drawForm(org.apache.xmlgraphics.ps.PSResource form,
org.apache.xmlgraphics.image.loader.ImageInfo info,
java.awt.Rectangle rect,
org.apache.xmlgraphics.ps.PSGenerator generator)
throws java.io.IOException
form - the form resourceinfo - the image info object representing the image in the formrect - the target rectangle (coordinates in millipoints)generator - the PostScript generator
java.io.IOException - if an I/O error occurs
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||