aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/util/UnitConv.java
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-08-26 08:59:31 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-08-26 08:59:31 +0000
commitfc31f448eecb81e170b7afb176e26ca39f00de03 (patch)
treec1d2c6edffd6d6d3722f1ab2368c477fa831aa41 /src/java/org/apache/fop/util/UnitConv.java
parent17c89e57818e12b41904f9d8a2f5f6e0f3b30639 (diff)
downloadxmlgraphics-fop-fc31f448eecb81e170b7afb176e26ca39f00de03.tar.gz
xmlgraphics-fop-fc31f448eecb81e170b7afb176e26ca39f00de03.zip
Forgot to add deprecated public statics.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@689000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/util/UnitConv.java')
-rw-r--r--src/java/org/apache/fop/util/UnitConv.java18
1 files changed, 18 insertions, 0 deletions
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
@@ -28,6 +28,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
* @return the value in pt