06-29-2020 03:31 AM
Hi everyone,
I'm currently working on a minesweeper game in CVI for a project in college.
I'm trying to draw a 10x10 grid on a canvas with a nested loop using CanvasdrawBitmap but I don't know how to draw the next tile near the previous tile.
Any help would be appreciated.
Thanks in Advance!
06-29-2020 09:38 PM
If you want to "draw" a grid, why don't you use the CanvasDrawLine function.
Inside your loop you need to shift the start/end points of your line according to the index.