aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/apache/fop/area/CTM.java4
-rw-r--r--src/org/apache/fop/area/RegionReference.java5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/org/apache/fop/area/CTM.java b/src/org/apache/fop/area/CTM.java
index 9a4ee968c..d31fed9a3 100644
--- a/src/org/apache/fop/area/CTM.java
+++ b/src/org/apache/fop/area/CTM.java
@@ -206,4 +206,8 @@ public class CTM implements Serializable {
public String toString() {
return "[" + a + " " + b + " " + c + " " + d + " " + e + " " + f + "]";
}
+
+ public String toPDFctm() {
+ return a + " " + b + " " + c + " " + d + " " + e/1000f + " " + f/1000f;
+ }
}
diff --git a/src/org/apache/fop/area/RegionReference.java b/src/org/apache/fop/area/RegionReference.java
index f4fd6734b..f63889c7e 100644
--- a/src/org/apache/fop/area/RegionReference.java
+++ b/src/org/apache/fop/area/RegionReference.java
@@ -35,6 +35,11 @@ public class RegionReference extends Area implements Serializable {
this.ctm = ctm;
}
+ public CTM getCTM() {
+ return this.ctm;
+ }
+
+
// the list of block areas from the static flow
ArrayList blocks = new ArrayList();