aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/area/CTM.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/area/CTM.java')
-rw-r--r--src/org/apache/fop/area/CTM.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/apache/fop/area/CTM.java b/src/org/apache/fop/area/CTM.java
index d31fed9a3..d506d3feb 100644
--- a/src/org/apache/fop/area/CTM.java
+++ b/src/org/apache/fop/area/CTM.java
@@ -210,4 +210,8 @@ public class CTM implements Serializable {
public String toPDFctm() {
return a + " " + b + " " + c + " " + d + " " + e/1000f + " " + f/1000f;
}
+
+ public double[] toArray() {
+ return new double[] {a, b, c, d, e / 1000.0, f / 1000.0};
+ }
}