org.apache.fop.render.ps
Class PSSVGHandler
java.lang.Object
org.apache.fop.render.ps.PSSVGHandler
- PSRendererContextConstants, RendererContextConstants, XMLHandler
public class PSSVGHandler
extends java.lang.Object
PostScript XML handler for SVG. Uses Apache Batik for SVG processing.
This handler handles XML for foreign objects when rendering to PostScript.
It renders SVG to the PostScript document using the PSGraphics2D.
The properties from the PostScript renderer are subject to change.
$Id: PSSVGHandler.java 426576 2006-07-28 15:44:37Z jeremias $
PSSVGHandler() - Create a new PostScript XML handler for use by the PostScript renderer.
|
PSSVGHandler
public PSSVGHandler()
Create a new PostScript XML handler for use by the PostScript renderer.
getPSInfo
public static PSSVGHandler.PSInfo getPSInfo(RendererContext context)
Get the pdf information from the render context.
context
- the renderer context
- the pdf information retrieved from the context
renderSVGDocument
protected void renderSVGDocument(RendererContext context,
Document doc,
PSSVGHandler.PSInfo psInfo)
Render the svg document.
context
- the renderer contextdoc
- the svg documentpsInfo
- the pdf information of the current context
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.