Переглянути джерело

Added some useful constants.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@672769 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_0
Adrian Cumiskey 16 роки тому
джерело
коміт
c66bb431b1

+ 11
- 0
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;
}

Завантаження…
Відмінити
Зберегти