Ejemplo n.º 1
0
 public void RenderBlockArea(BlockArea area)
 {
     // KLease: Temporary test to fix block positioning
     // Offset ypos by padding and border widths
     this.currentYPosition -= (area.getPaddingTop()
                               + area.getBorderTopWidth());
     DoFrame(area);
     foreach (Box b in area.getChildren())
     {
         b.render(this);
     }
     this.currentYPosition -= (area.getPaddingBottom()
                               + area.getBorderBottomWidth());
 }