aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-08-23 19:26:30 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-08-23 19:26:30 +0000
commit8847eaaeb15250651a1fb848b22e17de3cba2af6 (patch)
tree014e02cabca7aa81da4a0a914bf078de77b4bd78 /src/java/org/apache/fop/fo/pagination
parent30d70cec7bf6f2e0e629d6b447578f6ee8a6375d (diff)
downloadxmlgraphics-fop-8847eaaeb15250651a1fb848b22e17de3cba2af6.tar.gz
xmlgraphics-fop-8847eaaeb15250651a1fb848b22e17de3cba2af6.zip
move fo/PropertyManager.getCTMandRelDims() to area/CTM.getCTMandRelDims(), adding PropertyManager as a parameter, and making the method static.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196829 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination')
-rw-r--r--src/java/org/apache/fop/fo/pagination/Region.java2
-rw-r--r--src/java/org/apache/fop/fo/pagination/SimplePageMaster.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Region.java b/src/java/org/apache/fop/fo/pagination/Region.java
index 10079df20..28d60211d 100644
--- a/src/java/org/apache/fop/fo/pagination/Region.java
+++ b/src/java/org/apache/fop/fo/pagination/Region.java
@@ -195,7 +195,7 @@ public abstract class Region extends FObj {
*/
protected void setRegionPosition(RegionReference r, Rectangle2D absRegVPRect) {
FODimension reldims = new FODimension(0, 0);
- r.setCTM(propMgr.getCTMandRelDims(absRegVPRect, reldims));
+ r.setCTM(CTM.getCTMandRelDims(propMgr, absRegVPRect, reldims));
}
/**
diff --git a/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java b/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java
index 2d73df727..44eb03717 100644
--- a/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java
+++ b/src/java/org/apache/fop/fo/pagination/SimplePageMaster.java
@@ -149,7 +149,7 @@ public class SimplePageMaster extends FObj {
// Set up the CTM on the page reference area based on writing-mode
// and reference-orientation
FODimension reldims = new FODimension(0, 0);
- CTM pageCTM = propMgr.getCTMandRelDims(pageRefRect, reldims);
+ CTM pageCTM = CTM.getCTMandRelDims(propMgr, pageRefRect, reldims);
// Create a RegionViewport/ reference area pair for each page region