xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r231179 - /xmlgraphics/fop/branches/inlineblock/src/java/org/apache/fop/render/pdf/PDFRenderer.java
Date Wed, 10 Aug 2005 06:50:28 GMT
Author: jeremias
Date: Tue Aug  9 23:50:25 2005
New Revision: 231179

URL: http://svn.apache.org/viewcvs?rev=231179&view=rev
Log:
Background painting for inlineblockparent.

Modified:
    xmlgraphics/fop/branches/inlineblock/src/java/org/apache/fop/render/pdf/PDFRenderer.java

Modified: xmlgraphics/fop/branches/inlineblock/src/java/org/apache/fop/render/pdf/PDFRenderer.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/branches/inlineblock/src/java/org/apache/fop/render/pdf/PDFRenderer.java?rev=231179&r1=231178&r2=231179&view=diff
==============================================================================
--- xmlgraphics/fop/branches/inlineblock/src/java/org/apache/fop/render/pdf/PDFRenderer.java
(original)
+++ xmlgraphics/fop/branches/inlineblock/src/java/org/apache/fop/render/pdf/PDFRenderer.java
Tue Aug  9 23:50:25 2005
@@ -51,6 +51,7 @@
 import org.apache.fop.area.BookmarkData;
 import org.apache.fop.area.inline.Character;
 import org.apache.fop.area.inline.InlineArea;
+import org.apache.fop.area.inline.InlineBlockParent;
 import org.apache.fop.area.inline.TextArea;
 import org.apache.fop.area.inline.Viewport;
 import org.apache.fop.area.inline.ForeignObject;
@@ -1302,6 +1303,17 @@
         }
     }
 
+    /** @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.Renderer#renderCharacter(Character)
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message