diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-06-30 13:59:07 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-06-30 13:59:07 +0000 |
commit | c66bb431b1b86bdae16ec438524923065fe6b671 (patch) | |
tree | faa3ee515373cf8557e83d2ebfeb9c385b6ea537 /src/java/org/apache/fop | |
parent | a83ccd14d6aa8f8f01eb90ae768a2b7e9a731656 (diff) | |
download | xmlgraphics-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.java | 11 |
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; } |