[Gambas-user] Paint an image

Fabien Bodard gambas.fr at ...626...
Sun Nov 24 19:02:23 CET 2013


are you calling the refresh in the mousemove event ?


2013/11/24 Fabien Bodard <gambas.fr at ...626...>:
> set cached to false !!
>
>
> 2013/11/24 ukimiku <mkuyumcu at ...3233...>:
>> Hi Tobias,
>>
>> thanks for looking into this:
>>
>> In the fr.Draw() event handler, when I plot my image pixel by pixel, using
>> this code:
>>
>>   For y = 0 To img.Height - 1
>>      For x = 0 To img.Width - 1
>>         Draw.Foreground = img[x, y]
>>         Draw.Point(x, y)
>>      Next
>>   Next
>>
>> the image appears. But this method is slow.
>>
>> When I use your
>>     Paint.DrawImage(img, 0, 0)
>>
>> the image does not appear. I understand the logic.
>>
>> Oh, thank you for your explanations on the Brush methods. Nice!
>>
>> Regards,
>> ukimiku
>>
>>
>>
>>
>> --
>> View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44347.html
>> Sent from the gambas-user mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Shape the Mobile Experience: Free Subscription
>> Software experts and developers: Be at the forefront of tech innovation.
>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>> conversations that shape the rapidly evolving mobile landscape. Sign up now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard



-- 
Fabien Bodard




More information about the User mailing list