You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2008/08/26 10:59:34 UTC
svn commit: r689000 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/UnitConv.java
Author: acumiskey
Date: Tue Aug 26 01:59:31 2008
New Revision: 689000
URL: http://svn.apache.org/viewvc?rev=689000&view=rev
Log:
Forgot to add deprecated public statics.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/util/UnitConv.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/UnitConv.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/UnitConv.java?rev=689000&r1=688999&r2=689000&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/util/UnitConv.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/util/UnitConv.java Tue Aug 26 01:59:31 2008
@@ -28,6 +28,24 @@
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
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org