Tile2R function

simple utility to offset and scale XY coordinates with respect to the center