aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java b/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java
index d22adb9cb..398ba939f 100644
--- a/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java
+++ b/src/java/org/apache/fop/render/AbstractPathOrientedRenderer.java
@@ -29,6 +29,7 @@ import org.apache.fop.area.CTM;
import org.apache.fop.area.RegionViewport;
import org.apache.fop.area.Trait;
import org.apache.fop.area.inline.InlineArea;
+import org.apache.fop.area.inline.InlineBlockParent;
import org.apache.fop.area.inline.Viewport;
import org.apache.fop.datatypes.ColorType;
import org.apache.fop.fo.Constants;
@@ -361,6 +362,17 @@ public abstract class AbstractPathOrientedRenderer extends PrintRenderer {
}
}
+ /** @see org.apache.fop.render.AbstractRenderer */
+ protected void renderInlineBlockParent(InlineBlockParent ibp) {
+ float start = currentIPPosition / 1000f;
+ float top = (ibp.getOffset() + currentBPPosition) / 1000f;
+ float width = ibp.getIPD() / 1000f;
+ float height = ibp.getBPD() / 1000f;
+ drawBackAndBorders(ibp, start, top, width, height);
+
+ super.renderInlineBlockParent(ibp);
+ }
+
/**
* @see org.apache.fop.render.AbstractRenderer#renderBlockViewport(BlockViewport, List)
*/