## 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` `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

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

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

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

Copyright © 2004 Apache Software Foundation. All Rights Reserved.