} else { layout.paint( c, box );
    public void paintChild( Context c, Box box, Renderer layout ) {        if(Configuration.isTrue("xr.renderer.viewport-repaint",false)) {            Rectangle oldclip = (Rectangle)c.getGraphics().getClip();            Rectangle box_rect = new Rectangle(box.x,box.y,box.width,box.height);            if(oldclip.intersects(box_rect)) {                layout.paint( c, box );            }        } else {            layout.paint( c, box );        }    }