c.translate(-padding_xoff, ty);
c.translate(0,ty);
    public static void paintPadding(Context c, LineBox line, InlineBox inline) {        //Uu.p("painting border: " + inline.border);        // paint the background        int padding_xoff = inline.totalLeftPadding(c.getCurrentStyle());        int padding_yoff = inline.totalTopPadding(c.getCurrentStyle());        int ty = line.getBaseline() - inline.y - inline.height - padding_yoff + line.y;        LineMetrics lm = FontUtil.getLineMetrics(c, inline);        ty += (int) lm.getDescent();        c.translate(-padding_xoff, ty);        int old_width = inline.width;        int old_height = inline.height;        inline.height += inline.totalVerticalPadding(c.getCurrentStyle());        BoxRendering.paintBackground(c, inline);        Border margin = c.getCurrentStyle().getMarginWidth(c.getBlockFormattingContext().getWidth(), c.getBlockFormattingContext().getHeight());        Rectangle bounds = new Rectangle(inline.x + margin.left,                inline.y + margin.top,                inline.width - margin.left - margin.right,                inline.height - margin.top - margin.bottom);        BorderPainter.paint(c, bounds, BorderPainter.ALL);        inline.width = old_width;        inline.height = old_height;        c.translate(+padding_xoff, -ty);    }