From fc31f448eecb81e170b7afb176e26ca39f00de03 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Tue, 26 Aug 2008 08:59:31 +0000 Subject: Forgot to add deprecated public statics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@689000 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/util/UnitConv.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/java/org/apache/fop/util/UnitConv.java') diff --git a/src/java/org/apache/fop/util/UnitConv.java b/src/java/org/apache/fop/util/UnitConv.java index cf2fe6ce9..cf599712f 100644 --- a/src/java/org/apache/fop/util/UnitConv.java +++ b/src/java/org/apache/fop/util/UnitConv.java @@ -27,6 +27,24 @@ import java.awt.geom.AffineTransform; */ public final class UnitConv { + /** + * conversion factory from millimeters to inches. + * @deprecated use org.apache.xmlgraphics.util.UnitConv.IN2MM instead. + */ + public static final float IN2MM = org.apache.xmlgraphics.util.UnitConv.IN2MM; + + /** + * conversion factory from centimeters to inches. + * @deprecated use org.apache.xmlgraphics.util.UnitConv.IN2CM instead. + */ + public static final float IN2CM = org.apache.xmlgraphics.util.UnitConv.IN2CM; + + /** + * conversion factory from inches to points. + * @deprecated use org.apache.xmlgraphics.util.UnitConv.IN2PT instead. + */ + public static final int IN2PT = org.apache.xmlgraphics.util.UnitConv.IN2PT; + /** * Converts millimeters (mm) to points (pt) * @param mm the value in mm -- cgit v1.2.3