diff options
author | Karen Lease <klease@apache.org> | 2002-02-23 16:47:37 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2002-02-23 16:47:37 +0000 |
commit | 4a9677a4032f4a32e38dbd492cc99f70fae79a27 (patch) | |
tree | 9c4832bd0f999d9ea69896001483cc56ef2247cb /src | |
parent | de6b00c1eb40399a206c23411f28531aa76ff42b (diff) | |
download | xmlgraphics-fop-4a9677a4032f4a32e38dbd492cc99f70fae79a27.tar.gz xmlgraphics-fop-4a9677a4032f4a32e38dbd492cc99f70fae79a27.zip |
Support PDF rendering
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194667 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/org/apache/fop/area/CTM.java | 4 | ||||
-rw-r--r-- | src/org/apache/fop/area/RegionReference.java | 5 |
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(); |