scaleBackgroundImage(c, style, localBGImageContainer, backgroundImage);
float imageWidth = backgroundImage.getWidth();
float imageHeight = backgroundImage.getHeight();
BackgroundPosition position = style.getBackgroundPosition();
xoff += calcOffset(
c, style, position.getHorizontal(), localBGImageContainer.width, imageWidth);
yoff += calcOffset(
c, style, position.getVertical(), localBGImageContainer.height, imageHeight);
boolean hrepeat = style.isHorizontalBackgroundRepeat();
boolean vrepeat = style.isVerticalBackgroundRepeat();
if (! hrepeat && ! vrepeat) {