Uses of Interface
org.apache.batik.parser.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.extension.svg   
org.apache.batik.parser Provides a set of parsers and objects to manipulate SVG attributes. 
 

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

Classes in org.apache.batik.bridge that implement UnitProcessor.Context
static class UnitProcessor.DefaultContext
          This class is the default context for a particular element.
 

Fields in org.apache.batik.bridge declared as UnitProcessor.Context
protected  UnitProcessor.Context AbstractGraphicsNodeBridge.unitContext
          The unit context for length conversions.
 

Methods in org.apache.batik.bridge that return UnitProcessor.Context
static UnitProcessor.Context UnitProcessor.createContext(BridgeContext ctx, Element e)
          Creates a context for the specified element.
 

Methods in org.apache.batik.bridge with parameters of type UnitProcessor.Context
static float SVGUtilities.convertLength(String length, String attr, short unitsType, UnitProcessor.Context uctx)
          Returns a float in user units according to the specified parameters.
static Point2D SVGUtilities.convertPoint(String xStr, String xAttr, String yStr, String yAttr, short unitsType, UnitProcessor.Context uctx)
          Returns a Point2D in user units according to the specified parameters.
protected static Rectangle2D SVGUtilities.convertRegion(String xStr, String yStr, String wStr, String hStr, short unitsType, GraphicsNode targetNode, UnitProcessor.Context uctx)
          Returns a rectangle that represents the region defined by the specified coordinates.
protected static Rectangle2D SVGUtilities.extendRegion(String dxStr, String dyStr, String dwStr, String dhStr, short unitsType, GraphicsNode filteredNode, Rectangle2D region, UnitProcessor.Context uctx)
          Returns a rectangle that represents the region extended by the specified differential coordinates.
protected static BridgeContext UnitProcessor.getBridgeContext(UnitProcessor.Context ctx)
          Returns the BridgeContext from the given UnitProcessor.DefaultContext if it is a UnitProcessor.DefaultContext, or null otherwise.
static float UnitProcessor.svgHorizontalCoordinateToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified horizontal coordinate in object bounding box coordinate system.
static float UnitProcessor.svgHorizontalCoordinateToUserSpace(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified horizontal coordinate in user units.
static float UnitProcessor.svgHorizontalLengthToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified horizontal length in object bounding box coordinate system.
static float UnitProcessor.svgHorizontalLengthToUserSpace(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified horizontal length in user units.
static float UnitProcessor.svgLengthToObjectBoundingBox(String s, String attr, short d, UnitProcessor.Context ctx)
          Returns the specified length with the specified direction in user units.
static float UnitProcessor.svgLengthToUserSpace(String s, String attr, short d, UnitProcessor.Context ctx)
          Returns the specified length with the specified direction in user units.
static float UnitProcessor.svgOtherCoordinateToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified 'other' coordinate in object bounding box coordinate system.
static float UnitProcessor.svgOtherCoordinateToUserSpace(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified 'other' coordinate in user units.
static float UnitProcessor.svgOtherLengthToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified 'other' length in object bounding box coordinate system.
static float UnitProcessor.svgOtherLengthToUserSpace(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified 'other' length in user units.
static float UnitProcessor.svgToObjectBoundingBox(String s, String attr, short d, UnitProcessor.Context ctx)
          Returns the specified value with the specified direction in objectBoundingBox units.
static float UnitProcessor.svgToUserSpace(String s, String attr, short d, UnitProcessor.Context ctx)
          Returns the specified coordinate with the specified direction in user units.
static float UnitProcessor.svgVerticalCoordinateToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified vertical coordinate in object bounding box coordinate system.
static float UnitProcessor.svgVerticalCoordinateToUserSpace(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified vertical coordinate in user units.
static float UnitProcessor.svgVerticalLengthToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified vertical length in object bounding box coordinate system.
static float UnitProcessor.svgVerticalLengthToUserSpace(String s, String attr, UnitProcessor.Context ctx)
          Returns the specified vertical length in user units.
 

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

Classes in org.apache.batik.dom.svg that implement UnitProcessor.Context
protected  class AbstractSVGLength.DefaultContext
          To resolve the units.
protected  class SVGOMElement.UnitContext
          To resolve the units.
 

Fields in org.apache.batik.dom.svg declared as UnitProcessor.Context
protected  UnitProcessor.Context AbstractSVGLength.context
          The context used to resolve the units.
protected  UnitProcessor.Context SVGOMElement.unitContext
          The context used to resolve the units.
 

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

Methods in org.apache.batik.extension.svg with parameters of type UnitProcessor.Context
protected  RegionInfo BatikFlowTextElementBridge.buildRegion(UnitProcessor.Context uctx, Element e, float verticalAlignment)
           
 

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

Methods in org.apache.batik.parser with parameters of type UnitProcessor.Context
protected static float UnitProcessor.emsToPixels(float v, short d, UnitProcessor.Context ctx)
          Converts ems units to user units.
protected static float UnitProcessor.exsToPixels(float v, short d, UnitProcessor.Context ctx)
          Converts exs units to user units.
protected static float UnitProcessor.percentagesToPixels(float v, short d, UnitProcessor.Context ctx)
          Converts percentages to user units.
protected static float UnitProcessor.pixelsToEms(float v, short d, UnitProcessor.Context ctx)
          Converts user units to ems units.
protected static float UnitProcessor.pixelsToExs(float v, short d, UnitProcessor.Context ctx)
          Converts user units to exs units.
protected static float UnitProcessor.pixelsToPercentages(float v, short d, UnitProcessor.Context ctx)
          Converts user units to percentages relative to the viewport.
static float UnitProcessor.svgToObjectBoundingBox(float value, short type, short d, UnitProcessor.Context ctx)
          Returns the specified value with the specified direction in objectBoundingBox units.
static float UnitProcessor.svgToObjectBoundingBox(String s, String attr, short d, UnitProcessor.Context ctx)
          Returns the specified value with the specified direction in objectBoundingBox units.
static float UnitProcessor.svgToUserSpace(float v, short type, short d, UnitProcessor.Context ctx)
          Converts the specified value of the specified type and direction to user units.
static float UnitProcessor.svgToUserSpace(String s, String attr, short d, UnitProcessor.Context ctx)
          Returns the specified coordinate with the specified direction in user units.
static float UnitProcessor.userSpaceToSVG(float v, short type, short d, UnitProcessor.Context ctx)
          Converts the specified value of the specified type and direction to SVG units.
 



Copyright © 2008 Apache Software Foundation. All Rights Reserved.