Uses of Class
org.apache.batik.svggen.SVGGeneratorContext

Packages that use SVGGeneratorContext
org.apache.batik.svggen Provides an API on top of the AbstractGraphics2D to translate Java 2D primitives into the SVG format. 
 

Uses of SVGGeneratorContext in org.apache.batik.svggen
 

Fields in org.apache.batik.svggen declared as SVGGeneratorContext
protected  SVGGeneratorContext SVGGraphicObjectConverter.generatorContext
          Used by converters to create Elements and other DOM objects.
protected  SVGGeneratorContext DOMTreeManager.generatorContext
          The context that stores the domFactory, the imageHandler and the extensionHandler.
protected  SVGGeneratorContext AbstractSVGFilterConverter.generatorContext
          Used by converters to create Elements and other DOM objects
protected  SVGGeneratorContext AbstractSVGConverter.generatorContext
          Used by converters to create Elements and other DOM objects
protected  SVGGeneratorContext SVGGraphics2D.generatorCtx
          Contains some information for SVG generation.
 

Methods in org.apache.batik.svggen that return SVGGeneratorContext
static SVGGeneratorContext SVGGraphics2D.buildSVGGeneratorContext(Document domFactory, ImageHandler imageHandler, ExtensionHandler extensionHandler)
          Helper method to create an SVGGeneratorContext from the constructor parameters.
static SVGGeneratorContext SVGGeneratorContext.createDefault(Document domFactory)
          Creates an instance of SVGGeneratorContext with the given domFactory and with the default values for the other information.
 SVGGeneratorContext SVGGraphics2D.getGeneratorContext()
           
 

Methods in org.apache.batik.svggen with parameters of type SVGGeneratorContext
protected  void DefaultCachedImageHandler.cacheBufferedImage(Element imageElement, BufferedImage buf, SVGGeneratorContext generatorContext)
           
 Element SimpleImageHandler.createElement(SVGGeneratorContext generatorContext)
          Creates an Element which can refer to an image.
 Element GenericImageHandler.createElement(SVGGeneratorContext generatorContext)
          Creates an Element suitable for referring to images.
 Element DefaultCachedImageHandler.createElement(SVGGeneratorContext generatorContext)
          Creates an Element which can refer to an image.
 Element CachedImageHandlerBase64Encoder.createElement(SVGGeneratorContext generatorContext)
          Creates an Element which can refer to an image.
 SVGCompositeDescriptor ExtensionHandler.handleComposite(Composite composite, SVGGeneratorContext generatorContext)
           
 SVGCompositeDescriptor DefaultExtensionHandler.handleComposite(Composite composite, SVGGeneratorContext generatorContext)
           
 SVGFilterDescriptor ExtensionHandler.handleFilter(BufferedImageOp filter, Rectangle filterRect, SVGGeneratorContext generatorContext)
           
 SVGFilterDescriptor DefaultExtensionHandler.handleFilter(BufferedImageOp filter, Rectangle filterRect, SVGGeneratorContext generatorContext)
           
 void ImageHandlerBase64Encoder.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
protected  void DefaultImageHandler.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext)
          This template method should set the xlink:href attribute on the input Element parameter
 void DefaultCachedImageHandler.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
protected  void AbstractImageHandlerEncoder.handleHREF(Image image, Element imageElement, SVGGeneratorContext generatorContext)
          This template method should set the xlink:href attribute on the input Element parameter
 void ImageHandlerBase64Encoder.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
protected  void DefaultImageHandler.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext)
          This template method should set the xlink:href attribute on the input Element parameter
protected  void DefaultCachedImageHandler.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext)
          This method will delegate to the handleHREF which uses a RenderedImage
protected  void AbstractImageHandlerEncoder.handleHREF(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext)
          This template method should set the xlink:href attribute on the input Element parameter
 void ImageHandlerBase64Encoder.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext)
          This version of handleHREF encodes the input image into a PNG image whose bytes are then encoded with Base64.
protected  void DefaultImageHandler.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext)
          This template method should set the xlink:href attribute on the input Element parameter
protected  void DefaultCachedImageHandler.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext)
          This template method should set the xlink:href attribute on the input Element parameter
protected  void AbstractImageHandlerEncoder.handleHREF(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext)
          This template method should set the xlink:href attribute on the input Element parameter
 AffineTransform SimpleImageHandler.handleImage(Image image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
          The handler sets the xlink:href tag and returns a transform
 AffineTransform GenericImageHandler.handleImage(Image image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href and return a transform
 AffineTransform DefaultCachedImageHandler.handleImage(Image image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
          The handler sets the xlink:href tag and returns a transform
 void ImageHandler.handleImage(Image image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
 void DefaultImageHandler.handleImage(Image image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
 AffineTransform SimpleImageHandler.handleImage(RenderableImage image, Element imageElement, double x, double y, double width, double height, SVGGeneratorContext generatorContext)
          The handler sets the xlink:href tag and returns a transform
 AffineTransform GenericImageHandler.handleImage(RenderableImage image, Element imageElement, double x, double y, double width, double height, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and return a transform
 AffineTransform DefaultCachedImageHandler.handleImage(RenderableImage image, Element imageElement, double x, double y, double width, double height, SVGGeneratorContext generatorContext)
          The handler sets the xlink:href tag and returns a transform
 void ImageHandler.handleImage(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
 void DefaultImageHandler.handleImage(RenderableImage image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
 AffineTransform SimpleImageHandler.handleImage(RenderedImage image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
          The handler sets the xlink:href tag and returns a transform
 AffineTransform GenericImageHandler.handleImage(RenderedImage image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and return a transform
 AffineTransform DefaultCachedImageHandler.handleImage(RenderedImage image, Element imageElement, int x, int y, int width, int height, SVGGeneratorContext generatorContext)
          The handler sets the xlink:href tag and returns a transform
 void ImageHandler.handleImage(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
 void DefaultImageHandler.handleImage(RenderedImage image, Element imageElement, SVGGeneratorContext generatorContext)
          The handler should set the xlink:href tag and the width and height attributes.
 SVGPaintDescriptor ExtensionHandler.handlePaint(Paint paint, SVGGeneratorContext generatorContext)
           
 SVGPaintDescriptor DefaultExtensionHandler.handlePaint(Paint paint, SVGGeneratorContext generatorContext)
           
protected  AffineTransform DefaultCachedImageHandler.handleTransform(Element imageElement, double x, double y, double srcWidth, double srcHeight, double dstWidth, double dstHeight, SVGGeneratorContext generatorContext)
          Determines the transformation needed to get the cached image to scale & position properly.
protected  AffineTransform CachedImageHandlerBase64Encoder.handleTransform(Element imageElement, double x, double y, double srcWidth, double srcHeight, double dstWidth, double dstHeight, SVGGeneratorContext generatorContext)
          Determines the transformation needed to get the cached image to scale & position properly.
 String ImageCacher.lookup(ByteArrayOutputStream os, int width, int height, SVGGeneratorContext ctx)
          Checks if the image is already in the cache, and adds it if not.
protected  void SVGGraphics2D.setGeneratorContext(SVGGeneratorContext generatorCtx)
          Sets an non null SVGGeneratorContext.
protected  void SimpleImageHandler.setImageAttributes(Element imageElement, double x, double y, double width, double height, SVGGeneratorContext generatorContext)
          Sets the x/y/width/height attributes on the <image> element.
 void StyleHandler.setStyle(Element element, Map styleMap, SVGGeneratorContext generatorContext)
          Sets the style described by styleMap on the given element.
 void DefaultStyleHandler.setStyle(Element element, Map styleMap, SVGGeneratorContext generatorContext)
          Sets the style described by styleMap on the given element.
static SVGPaintDescriptor SVGColor.toSVG(Color color, SVGGeneratorContext gc)
          Converts a Color object to a set of two corresponding values: a CSS color string and an opacity value.
static String SVGPath.toSVGPathData(Shape path, SVGGeneratorContext gc)
           
 

Constructors in org.apache.batik.svggen with parameters of type SVGGeneratorContext
AbstractSVGConverter(SVGGeneratorContext generatorContext)
           
AbstractSVGFilterConverter(SVGGeneratorContext generatorContext)
           
DOMTreeManager(GraphicContext gc, SVGGeneratorContext generatorContext, int maxGCOverrides)
          Constructor
SVGAlphaComposite(SVGGeneratorContext generatorContext)
           
SVGArc(SVGGeneratorContext generatorContext)
           
SVGBasicStroke(SVGGeneratorContext generatorContext)
           
SVGBufferedImageOp(SVGGeneratorContext generatorContext)
           
SVGClip(SVGGeneratorContext generatorContext)
           
SVGColor(SVGGeneratorContext generatorContext)
           
SVGComposite(SVGGeneratorContext generatorContext)
           
SVGConvolveOp(SVGGeneratorContext generatorContext)
           
SVGCustomBufferedImageOp(SVGGeneratorContext generatorContext)
           
SVGCustomComposite(SVGGeneratorContext generatorContext)
           
SVGCustomPaint(SVGGeneratorContext generatorContext)
           
SVGEllipse(SVGGeneratorContext generatorContext)
           
SVGFont(SVGGeneratorContext generatorContext)
           
SVGGraphicContextConverter(SVGGeneratorContext generatorContext)
           
SVGGraphicObjectConverter(SVGGeneratorContext generatorContext)
           
SVGGraphics2D(SVGGeneratorContext generatorCtx, boolean textAsShapes)
          Creates a new SVGGraphics2D object.
SVGLine(SVGGeneratorContext generatorContext)
           
SVGLinearGradient(SVGGeneratorContext generatorContext)
           
SVGLookupOp(SVGGeneratorContext generatorContext)
           
SVGPaint(SVGGeneratorContext generatorContext)
           
SVGPath(SVGGeneratorContext generatorContext)
           
SVGPolygon(SVGGeneratorContext generatorContext)
           
SVGRectangle(SVGGeneratorContext generatorContext)
           
SVGRenderingHints(SVGGeneratorContext generatorContext)
           
SVGRescaleOp(SVGGeneratorContext generatorContext)
           
SVGShape(SVGGeneratorContext generatorContext)
           
SVGTexturePaint(SVGGeneratorContext generatorContext)
           
SVGTransform(SVGGeneratorContext generatorContext)
           
 



Copyright © 2008 Apache Software Foundation. All Rights Reserved.