sun.awt.image.Image sunimg = (sun.awt.image.Image)img;
if (!imageReady(sunimg, observer)) {
return false;
}
ImageRepresentation ir = sunimg.getImageRep();
return ir.drawToBufImage(sg, sunimg, dx, dy, (dx + w), (dy + h),
sx, sy, (sx + w), (sy + h), bgColor, observer);
}
}
public boolean scaleImage(SunGraphics2D sg, Image img,