Uses of Interface
org.apache.batik.util.UnitProcessor.Context

Packages that use UnitProcessor.Context
org.apache.batik.bridge Provides an API for mapping and maintaining consistency between the SVG DOM tree and the GVT tree. 
org.apache.batik.dom.svg   
org.apache.batik.refimpl.bridge   
org.apache.batik.util Provides some useful classes. 
 

Uses of UnitProcessor.Context in org.apache.batik.bridge
 

Constructors in org.apache.batik.bridge with parameters of type UnitProcessor.Context
SVGViewport(SVGSVGElement svgSvgElement, UnitProcessor.Context uctx)
          Constructs a new viewport with the specified SVGSVGElement.
 

Uses of UnitProcessor.Context in org.apache.batik.dom.svg
 

Classes in org.apache.batik.dom.svg that implement UnitProcessor.Context
 class DefaultUnitProcessorContext
          The default unit processor context.
 

Uses of UnitProcessor.Context in org.apache.batik.refimpl.bridge
 

Methods in org.apache.batik.refimpl.bridge with parameters of type UnitProcessor.Context
protected abstract  void SVGShapeElementBridge.buildShape(BridgeContext ctx, SVGElement svgElement, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Creates the shape depending on the specified context and element.
protected  void SVGPolygonElementBridge.buildShape(BridgeContext ctx, SVGElement elt, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns an GeneralPath.
static java.awt.geom.Rectangle2D CSSUtilities.convertEnableBackground(SVGElement svgElement, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns the viewport
static ShapePainter CSSUtilities.convertStrokeAndFill(SVGElement svgElement, GraphicsNode node, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns the ShapePainter for the specified Element using the specified context and css style declaration.
static ShapePainter CSSUtilities.convertStroke(SVGElement svgElement, GraphicsNode node, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns the ShapePainter used to draw the outline of the specified Element using the specified context and css style declaration.
static java.awt.Paint CSSUtilities.convertStrokeToPaint(SVGElement element, GraphicsNode node, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns a Paint object that corresponds to the various stroke attributes in the input element
static java.awt.BasicStroke CSSUtilities.convertStrokeToBasicStroke(SVGElement svgElement, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns a Stoke object that corresponds to the various stroke attributes in the input element
static ShapePainter CSSUtilities.convertFill(SVGElement svgElement, GraphicsNode node, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns the ShapePainter used to fill the specified Element using the specified context and css style declaration.
static java.awt.Paint CSSUtilities.convertURIToPaint(SVGElement svgElement, GraphicsNode node, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx, java.lang.String uri)
          Converts the element referenced by uri into a Paint object
static java.awt.Paint CSSUtilities.convertFillToPaint(SVGElement element, GraphicsNode node, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns the Paint used to fill the specified Element using the specified context and css style declaration.
static float CSSUtilities.convertFontSize(SVGElement svgElement, BridgeContext ctx, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Converts the font-size CSS value to a float value.
static java.awt.geom.Rectangle2D SVGUtilities.convertFilterChainRegion(Element filterElement, Element filteredElement, GraphicsNode node, UnitProcessor.Context uctx)
          Creates a Rectangle2D for the <filter> element.
static java.awt.geom.Rectangle2D SVGUtilities.convertMaskRegion(Element maskElement, Element maskedElement, GraphicsNode node, UnitProcessor.Context uctx)
          Creates a Rectangle2D for the input <mask> element.
static java.awt.geom.Rectangle2D SVGUtilities.convertPatternRegion(Element patternElement, Element paintedElement, GraphicsNode node, UnitProcessor.Context uctx)
          Creates a Rectangle2D for the input <pattern> element.
protected static java.awt.geom.Rectangle2D SVGUtilities.convertRegion(Element filterElement, Element filteredElement, GraphicsNode node, UnitProcessor.Context uctx, java.lang.String unitsAttr, java.lang.String unitsDefault, java.lang.String xDefault, java.lang.String yDefault, java.lang.String wDefault, java.lang.String hDefault)
          Creates a Rectangle2D using the specified parameters.
static java.awt.geom.Rectangle2D SVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement, Element filteredElement, java.awt.geom.Rectangle2D defaultRegion, GraphicsNode node, UnitProcessor.Context uctx)
          Creates a Rectangle2D for the input filter primitive element.
static java.awt.geom.Point2D SVGUtilities.convertGradientPoint(Element element, java.lang.String attrXName, java.lang.String xStr, java.lang.String attrYName, java.lang.String yStr, int unitsType, UnitProcessor.Context uctx)
          Creates a Point2D for the input x and y attribute value in the 'units' coordinate system.
static float SVGUtilities.convertGradientLength(Element element, java.lang.String attrLengthName, java.lang.String lengthStr, int unitsType, UnitProcessor.Context uctx)
          Creates a float value from the input value in the 'units' coordinate system.
static float SVGUtilities.svgToUserSpace(Element element, java.lang.String attrName, java.lang.String valueStr, UnitProcessor.Context uctx, short direction)
          Returns the float that represents a specified value or percentage.
protected static float SVGUtilities.svgToObjectBoundingBox(Element element, java.lang.String attrName, java.lang.String valueStr, UnitProcessor.Context uctx, short direction)
          Returns the float that represents a specified value or percentage.
protected static float SVGUtilities.svgToUserSpaceOnUse(Element element, java.lang.String attrName, java.lang.String valueStr, UnitProcessor.Context uctx, short direction)
          Returns the float that represents a specified value or percentage.
protected  void SVGEllipseElementBridge.buildShape(BridgeContext ctx, SVGElement svgElement, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns a Ellipse2D.Float.
protected  void SVGPathElementBridge.buildShape(BridgeContext ctx, SVGElement elt, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns an ExtendedGeneralPath.
protected  void SVGLineElementBridge.buildShape(BridgeContext ctx, SVGElement svgElement, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns a Line2D.Float.
protected  void SVGRectElementBridge.buildShape(BridgeContext ctx, SVGElement svgElement, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns a Rectangle2D.Float or a RoundRectangle2D.Float depending on the 'x', 'y', 'width', 'height', 'rx' and 'ry' attributes.
protected  void SVGPolylineElementBridge.buildShape(BridgeContext ctx, SVGElement elt, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns an GeneralPath.
protected  void SVGCircleElementBridge.buildShape(BridgeContext ctx, SVGElement svgElement, ShapeNode node, CSSStyleDeclaration decl, UnitProcessor.Context uctx)
          Returns a Ellipse2D.Float.
 

Uses of UnitProcessor.Context in org.apache.batik.util
 

Methods in org.apache.batik.util with parameters of type UnitProcessor.Context
static float UnitProcessor.cssToUserSpace(short t, float v, SVGElement e, short d, UnitProcessor.Context c)
          Converts a SVG length value to screen pixels.
static float UnitProcessor.svgToUserSpace(short t, float v, SVGElement e, short d, UnitProcessor.Context c)
          Converts a SVG length value to screen pixels.
protected static float UnitProcessor.emsToPixels(float v, SVGElement e, short d, UnitProcessor.Context c)
          Converts ems units to pixels units.
protected static float UnitProcessor.exsToPixels(float v, SVGElement e, short d, UnitProcessor.Context c)
          Converts exs units to pixels units.
protected static float UnitProcessor.percentagesToPixels(float v, SVGElement e, short d, UnitProcessor.Context c)
          Converts percentages units to pixels units.
static float UnitProcessor.svgToUserSpace(java.lang.String value, SVGElement e, short d, UnitProcessor.Context c)
          Converts a SVG length value to screen pixels.
 



Copyright © 2000 Apache Software Foundation. All Rights Reserved.