Uses of Interface
org.apache.batik.parser.UnitProcessor.Context
Packages that use UnitProcessor.Context
Package
Description
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
Provides a set of parsers and objects to manipulate SVG attributes.
-
Uses of UnitProcessor.Context in org.apache.batik.anim.dom
Classes in org.apache.batik.anim.dom that implement UnitProcessor.ContextModifier and TypeClassDescriptionprotected classTo resolve the units.protected classTo resolve the units.Fields in org.apache.batik.anim.dom declared as UnitProcessor.ContextModifier and TypeFieldDescriptionprotected UnitProcessor.ContextAbstractSVGLength.contextThe context used to resolve the units.protected UnitProcessor.ContextSVGOMElement.unitContextThe context used to resolve the units. -
Uses of UnitProcessor.Context in org.apache.batik.bridge
Classes in org.apache.batik.bridge that implement UnitProcessor.ContextModifier and TypeClassDescriptionstatic classThis class is the default context for a particular element.Fields in org.apache.batik.bridge declared as UnitProcessor.ContextModifier and TypeFieldDescriptionprotected UnitProcessor.ContextAbstractGraphicsNodeBridge.unitContextThe unit context for length conversions.Methods in org.apache.batik.bridge that return UnitProcessor.ContextModifier and TypeMethodDescriptionstatic UnitProcessor.ContextUnitProcessor.createContext(BridgeContext ctx, Element e) Creates a context for the specified element.Methods in org.apache.batik.bridge with parameters of type UnitProcessor.ContextModifier and TypeMethodDescriptionstatic floatSVGUtilities.convertLength(String length, String attr, short unitsType, UnitProcessor.Context uctx) Returns a float in user units according to the specified parameters.static Point2DSVGUtilities.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 Rectangle2DSVGUtilities.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 Rectangle2DSVGUtilities.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 BridgeContextUnitProcessor.getBridgeContext(UnitProcessor.Context ctx) Returns theBridgeContextfrom the givenUnitProcessor.Contextif it is aUnitProcessor.DefaultContext, or null otherwise.static floatUnitProcessor.svgHorizontalCoordinateToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx) Returns the specified horizontal coordinate in object bounding box coordinate system.static floatUnitProcessor.svgHorizontalCoordinateToUserSpace(String s, String attr, UnitProcessor.Context ctx) Returns the specified horizontal coordinate in user units.static floatUnitProcessor.svgHorizontalLengthToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx) Returns the specified horizontal length in object bounding box coordinate system.static floatUnitProcessor.svgHorizontalLengthToUserSpace(String s, String attr, UnitProcessor.Context ctx) Returns the specified horizontal length in user units.static floatUnitProcessor.svgLengthToObjectBoundingBox(String s, String attr, short d, UnitProcessor.Context ctx) Returns the specified length with the specified direction in user units.static floatUnitProcessor.svgLengthToUserSpace(String s, String attr, short d, UnitProcessor.Context ctx) Returns the specified length with the specified direction in user units.static floatUnitProcessor.svgOtherCoordinateToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx) Returns the specified 'other' coordinate in object bounding box coordinate system.static floatUnitProcessor.svgOtherCoordinateToUserSpace(String s, String attr, UnitProcessor.Context ctx) Returns the specified 'other' coordinate in user units.static floatUnitProcessor.svgOtherLengthToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx) Returns the specified 'other' length in object bounding box coordinate system.static floatUnitProcessor.svgOtherLengthToUserSpace(String s, String attr, UnitProcessor.Context ctx) Returns the specified 'other' length in user units.static floatUnitProcessor.svgToObjectBoundingBox(String s, String attr, short d, UnitProcessor.Context ctx) Returns the specified value with the specified direction in objectBoundingBox units.static floatUnitProcessor.svgToUserSpace(String s, String attr, short d, UnitProcessor.Context ctx) Returns the specified coordinate with the specified direction in user units.static floatUnitProcessor.svgVerticalCoordinateToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx) Returns the specified vertical coordinate in object bounding box coordinate system.static floatUnitProcessor.svgVerticalCoordinateToUserSpace(String s, String attr, UnitProcessor.Context ctx) Returns the specified vertical coordinate in user units.static floatUnitProcessor.svgVerticalLengthToObjectBoundingBox(String s, String attr, UnitProcessor.Context ctx) Returns the specified vertical length in object bounding box coordinate system.static floatUnitProcessor.svgVerticalLengthToUserSpace(String s, String attr, UnitProcessor.Context ctx) Returns the specified vertical length in user units. -
Uses of UnitProcessor.Context in org.apache.batik.extension.svg
Methods in org.apache.batik.extension.svg with parameters of type UnitProcessor.ContextModifier and TypeMethodDescriptionprotected RegionInfoBatikFlowTextElementBridge.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.ContextModifier and TypeMethodDescriptionprotected static floatUnitProcessor.emsToPixels(float v, short d, UnitProcessor.Context ctx) Converts ems units to user units.protected static floatUnitProcessor.exsToPixels(float v, short d, UnitProcessor.Context ctx) Converts exs units to user units.protected static floatUnitProcessor.percentagesToPixels(float v, short d, UnitProcessor.Context ctx) Converts percentages to user units.protected static floatUnitProcessor.pixelsToEms(float v, short d, UnitProcessor.Context ctx) Converts user units to ems units.protected static floatUnitProcessor.pixelsToExs(float v, short d, UnitProcessor.Context ctx) Converts user units to exs units.protected static floatUnitProcessor.pixelsToPercentages(float v, short d, UnitProcessor.Context ctx) Converts user units to percentages relative to the viewport.static floatUnitProcessor.svgToObjectBoundingBox(float value, short type, short d, UnitProcessor.Context ctx) Returns the specified value with the specified direction in objectBoundingBox units.static floatUnitProcessor.svgToObjectBoundingBox(String s, String attr, short d, UnitProcessor.Context ctx) Returns the specified value with the specified direction in objectBoundingBox units.static floatUnitProcessor.svgToUserSpace(float v, short type, short d, UnitProcessor.Context ctx) Converts the specified value of the specified type and direction to user units.static floatUnitProcessor.svgToUserSpace(String s, String attr, short d, UnitProcessor.Context ctx) Returns the specified coordinate with the specified direction in user units.static floatUnitProcessor.userSpaceToSVG(float v, short type, short d, UnitProcessor.Context ctx) Converts the specified value of the specified type and direction to SVG units.