aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-06-30 13:59:07 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-06-30 13:59:07 +0000
commitc66bb431b1b86bdae16ec438524923065fe6b671 (patch)
treefaa3ee515373cf8557e83d2ebfeb9c385b6ea537 /src/java/org/apache/fop
parenta83ccd14d6aa8f8f01eb90ae768a2b7e9a731656 (diff)
downloadxmlgraphics-fop-c66bb431b1b86bdae16ec438524923065fe6b671.tar.gz
xmlgraphics-fop-c66bb431b1b86bdae16ec438524923065fe6b671.zip
Added some useful constants.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@672769 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/render/afp/modca/AFPConstants.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/afp/modca/AFPConstants.java b/src/java/org/apache/fop/render/afp/modca/AFPConstants.java
index e2e2a8bbe..a55f6a076 100644
--- a/src/java/org/apache/fop/render/afp/modca/AFPConstants.java
+++ b/src/java/org/apache/fop/render/afp/modca/AFPConstants.java
@@ -39,4 +39,15 @@ public interface AFPConstants {
* The encoding to use to convert to US ASCII (7 bit)
*/
String US_ASCII_ENCODING = "US-ASCII";
+
+ /**
+ * The scaling of the default transform is set to
+ * approximately 72 user space coordinates per square inch
+ */
+ int DPI_72 = 72;
+
+ /**
+ * 72dpi in millipoints
+ */
+ int DPI_72_MPTS = DPI_72 * 1000;
}