BoxRendering.paint(c, box);
BoxRendering.paint(c, box, false);
    public static void paintChild(Context c, Box box) {        if (box.isChildrenExceedBounds()) {            BoxRendering.paint(c, box);            return;        }        if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) {            if (c.getGraphics().getClip() != null) {                Rectangle2D oldclip = (Rectangle2D) c.getGraphics().getClip();                Rectangle2D box_rect = new Rectangle(box.x, box.y, box.width, box.height);                //TODO: handle floated content. HACK: descend into anonymous boxes, won't work for deeper nesting                if (oldclip.intersects(box_rect) || (box instanceof AnonymousBlockBox)) {                    BoxRendering.paint(c, box);                }                return;            }        }        BoxRendering.paint(c, box);    }