[Gambas-user] DrawImage

Shane buster6seven at gmail.com
Sun Jan 10 01:29:42 CET 2021


Ok looks like there is a bug

simple test program attached


On 10/1/21 11:13 am, Benoît Minisini wrote:
> 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,
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-0.0.1.tar.gz
Type: application/gzip
Size: 68813 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210110/c0373858/attachment-0001.gz>


More information about the User mailing list