[Gambas-user] Paint an image

Fabien Bodard gambas.fr at ...626...
Sun Nov 24 20:30:39 CET 2013


remove all the occurence on fr.cached... this is not needed at all
(there is some with = true)

remove fr.clear (this is slow and uneeded in the _draw event)

2013/11/24 Tobias Boege <taboege at ...626...>:
> On Sun, 24 Nov 2013, ukimiku wrote:
>> Hi Tobi,
>>
>> this is very kind of you. Your sample project works like a charm: I see the
>> pixels update and change color randomly.
>>
>> The problem with my project is: After I fill my image with color data, it
>> gets displayed correctly. Then I fill in new color data, and it is not being
>> updated anymore. While with the Paint.brush method, the image is being
>> updated as expected. This is irritatingly inconsistent to me. But then
>> again, I am a complete Gambas newbie... :)
>>
>
> Well, you have a working project now which uses Paint.DrawImage(). Try to
> find out what your project lacks.
>
>> How do you manage to append attachments to your posts here on the mailing
>> list? Thanks.
>>
>
> I see you use nabble.com... If you want to send attachments, you have to
> subscribe to this mailing list at sourceforge[0].
>
> Regards,
> Tobi
>
> [0] https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> ------------------------------------------------------------------------------
> 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




More information about the User mailing list