org.apache.batik.util
Interface UnitProcessor.Context

All Known Implementing Classes:
DefaultUnitProcessorContext, DefaultUnitProcessorContext
Enclosing class:
UnitProcessor

public static interface UnitProcessor.Context

Holds the informations needed to compute the units.


Method Summary
 CSSPrimitiveValue getFontSize(SVGElement e)
          Returns the font-size value.
 float getMediumFontSize()
          Returns the font-size medium value in pt.
 ParserFactory getParserFactory()
          Returns the parser factory.
 float getPixelToMM()
          Returns the pixel to mm factor.
 Viewport getViewport()
          Returns the viewport used to compute percentages and units.
 float getXHeight(SVGElement e)
          Returns the x-height value.
 

Method Detail

getPixelToMM

public float getPixelToMM()
Returns the pixel to mm factor.

getParserFactory

public ParserFactory getParserFactory()
Returns the parser factory.

getMediumFontSize

public float getMediumFontSize()
Returns the font-size medium value in pt.

getFontSize

public CSSPrimitiveValue getFontSize(SVGElement e)
Returns the font-size value.

getXHeight

public float getXHeight(SVGElement e)
Returns the x-height value.

getViewport

public Viewport getViewport()
Returns the viewport used to compute percentages and units.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.