diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-08-26 08:59:31 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-08-26 08:59:31 +0000 |
commit | fc31f448eecb81e170b7afb176e26ca39f00de03 (patch) | |
tree | c1d2c6edffd6d6d3722f1ab2368c477fa831aa41 /src/java/org/apache/fop/util/UnitConv.java | |
parent | 17c89e57818e12b41904f9d8a2f5f6e0f3b30639 (diff) | |
download | xmlgraphics-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.java | 18 |
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 |