Removed DrawTiles and xrepeat, yrepeat parameters.