org.apache.batik.bridge
public static class UnitProcessor.DefaultContext extends Object implements Context
Field Summary | |
---|---|
protected BridgeContext | ctx
The bridge context. |
protected Element | e
The element. |
Constructor Summary | |
---|---|
DefaultContext(BridgeContext ctx, Element e)
Creates a new DefaultContext. |
Method Summary | |
---|---|
Element | getElement()
Returns the element. |
float | getFontSize()
Returns the font-size value. |
float | getPixelToMM()
Returns the size of a px CSS unit in millimeters.
|
float | getPixelUnitToMillimeter()
Returns the size of a px CSS unit in millimeters. |
float | getViewportHeight()
Returns the viewport height used to compute units. |
float | getViewportWidth()
Returns the viewport width used to compute units. |
float | getXHeight()
Returns the x-height value. |
See Also: getPixelUnitToMillimeter