Do you want to draw a counted tiling image on a canvas ?
Tiling in both axes : TileX (tile horizontally = columns) and TileY (tile vertically = rows)
Eg: TileX = 3, TileY = 3, so we draw a 3×3 tiled image on a canvas
If you do, so take a look on this reading : http://delphimiracles.blogspot.com/2007/02/another-way-to-draw-tiled-image-to.html