paintLine(c, (LineBox) box.getChild(i));
paintLine(c, (LineBox) box.getChild(i), blockLineHeight, blockLineMetrics);
    static void paintInlineContext(Context c, Box box) {        //BlockBox block = (BlockBox)box;        // translate into local coords        // account for the origin of the containing box        c.translate(box.x, box.y);        // for each line box        BlockBox block = null;        if (box instanceof BlockBox) {//Why isn't it always a BlockBox?            block = (BlockBox) box;        }        for (int i = 0; i < box.getChildCount(); i++) {            if (i == 0 && block != null && block.firstLineStyle != null) c.pushStyle(block.firstLineStyle);            // get the line box            paintLine(c, (LineBox) box.getChild(i));            if (i == 0 && block != null && block.firstLineStyle != null) c.popStyle();        }        // translate back to parent coords        c.translate(-box.x, -box.y);    }