Class FontStrictGeomUtility
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.tools.FontStrictGeomUtility
-
public class FontStrictGeomUtility extends Object
This class is the heart of the alternative geometrics toolkit. It performs the neccessary conversions from and to the AWT classes to the Strict-classes.- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
multiply(long x, long y)
static double
toExternalValue(long value)
Converts the given micro point value into an AWT value.static long
toInternalValue(double value)
Converts the given AWT value into a strict value.
-
-
-
Method Detail
-
toInternalValue
public static long toInternalValue(double value)
Converts the given AWT value into a strict value.- Parameters:
value
- the AWT point value.- Returns:
- the internal micro point value.
-
toExternalValue
public static double toExternalValue(long value)
Converts the given micro point value into an AWT value.- Parameters:
value
- the micro point point value.- Returns:
- the AWT point value.
-
multiply
public static long multiply(long x, long y)
-
-