public class PSImageUtils
extends org.apache.xmlgraphics.ps.PSImageUtils
Constructor and Description |
---|
PSImageUtils() |
Modifier and Type | Method and Description |
---|---|
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. |
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 contextpublic 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 generatorjava.io.IOException
- if an I/O error occursCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.