g2d.setColor(bgColor);
g2d.fillRect(0, 0, sx2-sx1, sy2-sy1);
g2d.setComposite(AlphaComposite.SrcOver);
}
g2d.drawImage(img, -sx1, -sy1, null);
g2d.dispose();
return bimg;
}
protected void renderImageXform(SunGraphics2D sg, Image img,
AffineTransform tx, int interpType,