| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Inner Class Summary | |
(package private) class | AWTRenderer.DrawingInstruction |
Constructor Summary | |
AWTRenderer(Translator aRes) |
Method Summary | |
static Color | colorType2Color(ColorType ct) |
GeneralPath | convertPath(SVGPathElementImpl svgpath, float x, float y) Mapps a SVG-Path to a AWT-GeneralPath. |
java.awt.Polygon | convertPolygon(SVGPolygonElementImpl svgpl, int x, int y) Mapps a SVG-Polygon to a AWT-Polygon. |
BufferedImage | getLastRenderedPage() |
int | getNumberOfPages() |
int | getPageCount() Retrieve the number of pages in this document. |
PageFormat | getPageFormat(int pageIndex) |
int | getPageNumber() |
Printable | getPrintable(int pageIndex) |
double | getScaleFactor() |
int | print(Graphics g, PageFormat pageFormat, int pageIndex) |
void | render(int aPageNumber) |
void | render(AreaTree areaTree, OutputStream stream) |
void | render(AreaTree areaTree, int aPageNumber) |
void | renderAreaContainer(AreaContainer area) |
void | renderBlockArea(BlockArea area) |
void | renderBodyAreaContainer(BodyAreaContainer area) |
void | renderDisplaySpace(DisplaySpace space) |
void | renderElement(SVGArea svgarea, GraphicImpl area, int posx, int posy, Vector parentTransforms) |
void | renderForeignObjectArea(ForeignObjectArea area) |
void | renderGArea(SVGArea svgarea, SVGGElementImpl area, int posx, int posy, Vector v) |
void | renderGArea(SVGArea svgarea, SVGGElementImpl area, int posx, int posy) |
void | renderImage(String href, float x, float y, float width, float height, Vector transform) Draws an image. |
void | renderImageArea(ImageArea area) |
void | renderInlineArea(InlineArea area) |
void | renderInlineSpace(InlineSpace space) |
void | renderLeaderArea(LeaderArea area) render leader area into AWT |
void | renderLineArea(LineArea area) |
void | renderPage(Page page) |
void | renderSpanArea(SpanArea area) |
void | renderSVGArea(SVGArea area) |
void | setComponent(Component parent) Sets parent component which is used to set up the font. |
void | setPageNumber(int aValue) |
void | setProducer(String producer) |
void | setProgressListener(ProgressListener l) |
void | setScaleFactor(double newScaleFactor) |
void | setupFontInfo(FontInfo fontInfo) |
void | transform(Graphics2D g2d, double zoomPercent, double angle) To configure before print. |
Shape | transformShape(Vector trans, Shape shape) Applies SVGTransform to the shape and gets the transformed shape. |
Constructor Detail |
public AWTRenderer(Translator aRes)
Method Detail |
public static Color colorType2Color(ColorType ct)
public GeneralPath convertPath(SVGPathElementImpl svgpath, float x, float y)
public java.awt.Polygon convertPolygon(SVGPolygonElementImpl svgpl, int x, int y)
public BufferedImage getLastRenderedPage()
public int getNumberOfPages()
public int getPageCount()
public PageFormat getPageFormat(int pageIndex)
throws java.lang.IndexOutOfBoundsException
public int getPageNumber()
public Printable getPrintable(int pageIndex)
throws java.lang.IndexOutOfBoundsException
public double getScaleFactor()
public int print(Graphics g, PageFormat pageFormat, int pageIndex)
throws java.awt.print.PrinterException
public void render(int aPageNumber)
public void render(AreaTree areaTree, OutputStream stream)
throws java.io.IOException
public void render(AreaTree areaTree, int aPageNumber)
throws java.io.IOException
public void renderAreaContainer(AreaContainer area)
public void renderBlockArea(BlockArea area)
public void renderBodyAreaContainer(BodyAreaContainer area)
public void renderDisplaySpace(DisplaySpace space)
public void renderElement(SVGArea svgarea, GraphicImpl area, int posx, int posy, Vector parentTransforms)
public void renderForeignObjectArea(ForeignObjectArea area)
public void renderGArea(SVGArea svgarea, SVGGElementImpl area, int posx, int posy, Vector v)
public void renderGArea(SVGArea svgarea, SVGGElementImpl area, int posx, int posy)
public void renderImage(String href, float x, float y, float width, float height, Vector transform)
public void renderImageArea(ImageArea area)
public void renderInlineArea(InlineArea area)
public void renderInlineSpace(InlineSpace space)
public void renderLeaderArea(LeaderArea area)
public void renderLineArea(LineArea area)
public void renderPage(Page page)
public void renderSpanArea(SpanArea area)
public void renderSVGArea(SVGArea area)
public void setComponent(Component parent)
public void setPageNumber(int aValue)
public void setProducer(String producer)
public void setProgressListener(ProgressListener l)
public void setScaleFactor(double newScaleFactor)
public void setupFontInfo(FontInfo fontInfo)
public void transform(Graphics2D g2d, double zoomPercent, double angle)
public Shape transformShape(Vector trans, Shape shape)
Association Links |
to Class org.apache.fop.viewer.ProgressListener
to Class org.apache.fop.viewer.Translator
to Class java.util.Hashtable
to Class java.util.Hashtable
to Class java.awt.Color
to Class java.awt.image.BufferedImage
to Class java.awt.Graphics2D
to Class java.lang.String
to Class java.awt.Component
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |