12011202120312041205120612071208120912101211
{ wr = (WritableRaster) r; } else { wr = r.createCompatibleWritableRaster(); wr.setRect(r); } Surface srcSurf = new ImageSurface(pc.getColorModel(), wr); blitter.blit(0, 0, srcSurf, x, y, dstSurf, w, h, composite, null, mra); srcSurf.dispose();