OK.
This demonstrates it fairly well, and uses no external images
The real code has images with masks too, not sure if that is a factor yet
First x/y loop takes 5 ticks
Second x/y loop takes 2 ticks
[code]
dim bgpic as picture
bgpic = new picture (canvas1.width,canvas1.height,32)
dim iconspic as picture
iconspic = new picture (200*64,64,32)
dim smlpic as new picture (64,64,32)
dim x, y as integer
dim k as integer
dim startticks as integer
dim diff as integer
startticks = ticks
for x = 0 to 499
for y = 0 to 499
k = rnd() * 200
bgpic.graphics.DrawPicture iconspic, x10, y10, 10,10, k*64,0,64,64
//g.DrawPicture oneicononly,xx,yy,30,30,0,0,64,64
next
next
diff = ticks - startticks
msgbox format("Time in ticks: " + diff, “0”)
startticks = ticks
for x = 0 to 499
for y = 0 to 499
k = rnd() * 200
bgpic.graphics.DrawPicture smlpic, x10, y10, 10,10, 0,0,64,64
next
next
diff = ticks - startticks
startticks = 0[/code]