org.apache.batik.bridge
public abstract class UnitProcessor extends UnitProcessor
Nested Class Summary | |
---|---|
static class | UnitProcessor.DefaultContext
This class is the default context for a particular element. |
Method Summary | |
---|---|
static Context | createContext(BridgeContext ctx, Element e)
Creates a context for the specified element.
|
protected static BridgeContext | getBridgeContext(Context ctx)
Returns the BridgeContext from the given Context
if it is a DefaultContext, or null otherwise. |
static float | svgHorizontalCoordinateToObjectBoundingBox(String s, String attr, Context ctx)
Returns the specified horizontal coordinate in object bounding box
coordinate system.
|
static float | svgHorizontalCoordinateToUserSpace(String s, String attr, Context ctx)
Returns the specified horizontal coordinate in user units.
|
static float | svgHorizontalLengthToObjectBoundingBox(String s, String attr, Context ctx)
Returns the specified horizontal length in object bounding box
coordinate system. |
static float | svgHorizontalLengthToUserSpace(String s, String attr, Context ctx)
Returns the specified horizontal length in user units. |
static float | svgLengthToObjectBoundingBox(String s, String attr, short d, Context ctx)
Returns the specified length with the specified direction in
user units. |
static float | svgLengthToUserSpace(String s, String attr, short d, Context ctx)
Returns the specified length with the specified direction in
user units. |
static float | svgOtherCoordinateToObjectBoundingBox(String s, String attr, Context ctx)
Returns the specified 'other' coordinate in object bounding box
coordinate system.
|
static float | svgOtherCoordinateToUserSpace(String s, String attr, Context ctx)
Returns the specified 'other' coordinate in user units.
|
static float | svgOtherLengthToObjectBoundingBox(String s, String attr, Context ctx)
Returns the specified 'other' length in object bounding box
coordinate system. |
static float | svgOtherLengthToUserSpace(String s, String attr, Context ctx)
Returns the specified 'other' length in user units. |
static float | svgToObjectBoundingBox(String s, String attr, short d, Context ctx)
Returns the specified value with the specified direction in
objectBoundingBox units.
|
static float | svgToUserSpace(String s, String attr, short d, Context ctx)
Returns the specified coordinate with the specified direction
in user units.
|
static float | svgVerticalCoordinateToObjectBoundingBox(String s, String attr, Context ctx)
Returns the specified vertical coordinate in object bounding box
coordinate system.
|
static float | svgVerticalCoordinateToUserSpace(String s, String attr, Context ctx)
Returns the specified vertical coordinate in user units.
|
static float | svgVerticalLengthToObjectBoundingBox(String s, String attr, Context ctx)
Returns the specified vertical length in object bounding box
coordinate system. |
static float | svgVerticalLengthToUserSpace(String s, String attr, Context ctx)
Returns the specified vertical length in user units. |
Parameters: ctx the bridge context that contains the user agent and viewport definition e the element interested in its context
Parameters: s the horizontal coordinate attr the attribute name that represents the coordinate ctx the context used to resolve relative value
Parameters: s the horizontal coordinate attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the 'other' length attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the horizontal length attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the length attr the attribute name that represents the length d the direction of the length ctx the context used to resolve relative value
Parameters: s the 'other' coordinate attr the attribute name that represents the length d the direction of the length ctx the context used to resolve relative value
Parameters: s the 'other' coordinate attr the attribute name that represents the coordinate ctx the context used to resolve relative value
Parameters: s the 'other' coordinate attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the 'other' length attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the 'other' length attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the value attr the attribute name that represents the value d the direction of the value ctx the context used to resolve relative value
Parameters: s the 'other' coordinate attr the attribute name that represents the length d the direction of the coordinate ctx the context used to resolve relative value
Parameters: s the vertical coordinate attr the attribute name that represents the coordinate ctx the context used to resolve relative value
Parameters: s the vertical coordinate attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the vertical length attr the attribute name that represents the length ctx the context used to resolve relative value
Parameters: s the vertical length attr the attribute name that represents the length ctx the context used to resolve relative value