From c66bb431b1b86bdae16ec438524923065fe6b671 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Mon, 30 Jun 2008 13:59:07 +0000 Subject: Added some useful constants. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@672769 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/afp/modca/AFPConstants.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/java/org/apache/fop/render') 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; } -- cgit v1.2.3