[Gambas-user] DrawImage

Benoît Minisini g4mba5 at gmail.com
Sun Jan 10 01:13:52 CET 2021


Le 09/01/2021 à 23:03, Shane a écrit :
> hey
> 
> Am I correct in believing that this code would put a copy of img1 at 
> x=100, y=100 of backimg
> 
> backimg = img1.DrawImage(img1, 100, 100)
> 
> it draws img1 but at 0,0
> 
> any ideas?
> 
> Cheers Shane
> 

Of course not, your code has no sense at all.

To do what you want, you must write:

backimg.DrawImage(img1, 100, 100)

Regards,

-- 
Benoît Minisini


More information about the User mailing list