/* 2100 */ if ((this instanceof WritableRenderedImage))
/* */ {
/* 2104 */ SampleModel sm = tile.getSampleModel();
/* 2105 */ if ((sm.getWidth() != region.width) || (sm.getHeight() != region.height))
/* */ {
/* 2107 */ sm = sm.createCompatibleSampleModel(region.width, region.height);
/* */ }
/* */
/* 2110 */ WritableRaster destinationRaster = createWritableRaster(sm, region.getLocation());
/* */
/* 2112 */ Raster sourceRaster = tile.getBounds().equals(region) ? tile : tile.createChild(region.x, region.y, region.width, region.height, region.x, region.y, null);