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 class
To resolve the units.protected class
To resolve the units.Fields in org.apache.batik.anim.dom declared as UnitProcessor.ContextModifier and TypeFieldDescriptionprotected 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.bridge
Classes in org.apache.batik.bridge that implement UnitProcessor.ContextModifier and TypeClassDescriptionstatic class
This class is the default context for a particular element.Fields in org.apache.batik.bridge declared as UnitProcessor.ContextModifier and TypeFieldDescriptionprotected UnitProcessor.Context
AbstractGraphicsNodeBridge.unitContext
The unit context for length conversions.Methods in org.apache.batik.bridge that return UnitProcessor.ContextModifier and TypeMethodDescriptionstatic 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.ContextModifier and TypeMethodDescriptionstatic 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 theBridgeContext
from the givenUnitProcessor.Context
if it is aUnitProcessor.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.extension.svg
Methods in org.apache.batik.extension.svg with parameters of type UnitProcessor.ContextModifier and TypeMethodDescriptionprotected 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.ContextModifier and TypeMethodDescriptionprotected 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.