]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Forgot to add deprecated public statics.
authorAdrian Cumiskey <acumiskey@apache.org>
Tue, 26 Aug 2008 08:59:31 +0000 (08:59 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Tue, 26 Aug 2008 08:59:31 +0000 (08:59 +0000)
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

index cf2fe6ce91d94b2759fcd788fe3f27fd7d52f388..cf599712f0cacdb0bb9c47c6cce0cae7fd61685d 100644 (file)
@@ -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