if(srcSurf.getTransparency() == Transparency.OPAQUE){
bi = new BufferedImage(srcSurf.getWidth(), srcSurf.getHeight(), BufferedImage.TYPE_INT_RGB);
}else{
bi = new BufferedImage(srcSurf.getWidth(), srcSurf.getHeight(), BufferedImage.TYPE_INT_ARGB);
}
Surface tmpSurf = AwtImageBackdoorAccessor.getInstance().getImageSurface(bi);
JavaBlitter.getInstance().blit(0, 0, srcSurf, 0, 0, tmpSurf,
srcSurf.getWidth(), srcSurf.getHeight(),
AlphaComposite.Src, null, null);
blit(srcX, srcY, tmpSurf, dstX, dstY, dstSurf,
width, height, sysxform, comp, bgcolor, clip);