int xloc = curr.getXLoc()*tileWidth +tileGridXOff;
int yloc = curr.getYLoc()*tileHeight+tileGridYOff;
Rectangle tb = new Rectangle(xloc, yloc,
curr.getWidth()*tileWidth,
curr.getHeight()*tileHeight);
tb = tb.intersection(bounds);
Point loc = new Point(tb.x, tb.y);
WritableRaster child = Raster.createPackedRaster
(dbi, tb.width, tb.height, tb.width, masks, loc);
genRect(child);
if (use_INT_PACK) GraphicsUtil.copyData_INT_PACK(child, wr);