diff options
author | Jeremias Maerki <jeremias@apache.org> | 2004-12-28 13:54:30 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2004-12-28 13:54:30 +0000 |
commit | 45972865de32182aff87192fa4f5526146dd20d8 (patch) | |
tree | 48776b64153c418e4ff3bac982601e16b02b3cd3 /src | |
parent | 65abdf24e54462f82a694a909f820031b6f33b9c (diff) | |
download | xmlgraphics-fop-45972865de32182aff87192fa4f5526146dd20d8.tar.gz xmlgraphics-fop-45972865de32182aff87192fa4f5526146dd20d8.zip |
Rename parameter to match the type.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/pdf/PDFRenderer.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index 42f11b965..ac8450881 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -524,19 +524,19 @@ public class PDFRenderer extends PrintRenderer { * This draws the background and border traits for an area given * the position. * - * @param block the area to get the traits from + * @param area the area to get the traits from * @param startx the start x position * @param starty the start y position * @param width the width of the area * @param height the height of the area */ - protected void drawBackAndBorders(Area block, + protected void drawBackAndBorders(Area area, float startx, float starty, float width, float height) { // draw background then border Trait.Background back; - back = (Trait.Background)block.getTrait(Trait.BACKGROUND); + back = (Trait.Background)area.getTrait(Trait.BACKGROUND); if (back != null) { endTextObject(); @@ -565,7 +565,7 @@ public class PDFRenderer extends PrintRenderer { } } - BorderProps bps = (BorderProps)block.getTrait(Trait.BORDER_BEFORE); + BorderProps bps = (BorderProps)area.getTrait(Trait.BORDER_BEFORE); if (bps != null) { endTextObject(); @@ -578,7 +578,7 @@ public class PDFRenderer extends PrintRenderer { currentStream.add(startx + width + " " + y1 + " l\n"); currentStream.add("S\n"); } - bps = (BorderProps)block.getTrait(Trait.BORDER_AFTER); + bps = (BorderProps)area.getTrait(Trait.BORDER_AFTER); if (bps != null) { endTextObject(); @@ -591,7 +591,7 @@ public class PDFRenderer extends PrintRenderer { currentStream.add((startx + width) + " " + (y1 + height) + " l\n"); currentStream.add("S\n"); } - bps = (BorderProps)block.getTrait(Trait.BORDER_START); + bps = (BorderProps)area.getTrait(Trait.BORDER_START); if (bps != null) { endTextObject(); @@ -604,7 +604,7 @@ public class PDFRenderer extends PrintRenderer { currentStream.add(x1 + " " + (starty + height) + " l\n"); currentStream.add("S\n"); } - bps = (BorderProps)block.getTrait(Trait.BORDER_END); + bps = (BorderProps)area.getTrait(Trait.BORDER_END); if (bps != null) { endTextObject(); |