yoff = -rect.y + rect.height - block.height - block.bottom;
yoff += rect.height - block.height - block.bottom;
    public static void paintFixed(Context c, Box block, boolean restyle) {        Rectangle rect = c.getExtents();        //why this?        int xoff = -rect.x;        int yoff = -rect.y;        if (block.top_set) {            yoff += block.top;        }        if (block.right_set) {            xoff = -rect.x + rect.width - block.width - block.right;        }        if (block.left_set) {            xoff = block.left;        }        if (block.bottom_set) {            yoff = -rect.y + rect.height - block.height - block.bottom;        }        c.translate(xoff, yoff);        paintNormal(c, block, restyle);        c.translate(-xoff, -yoff);    }