[Gambas-user] painting graph to image continuously

Fabien Bodard gambas.fr at ...626...
Fri Dec 17 23:36:37 CET 2010


2010/12/17 wally <wally at ...2037...>:
> On Friday 17 December 2010 11:14:49 Benoît Minisini wrote:
>> > Benoit,
>> >
>> > i sent already, but maybe attachments has been rejected.
>> >
>> > The code below creates 1 circle. After resizing in GB3 i got
>> > 4 circles. Doing same in GB2 just a resize of the area is performed
>> > and the primarly created circle persists.
>> >
>> > Public Sub btn_test_Click()
>> >
>> >  'Drawing Area set to 100, 80
>> >  ' DrawingArea.cache - True
>> >  '- - > 200, 160
>> >
>> >   Draw.Begin(DrawingArea1)
>> >     Draw.Circle(50, 40, 30)
>> >   Draw.End
>> >
>> >   DrawingArea1.Resize(200, 160)
>> >
>> >   myPicture = DrawingArea1.Screenshot()
>> >   myPicture.Save(ProjPath &/ "circles.png")
>> >
>> > End
>> >
>>
>> I'm talking about a full project (the tar.gz of the project created by "make
>> source archive" in the IDE menu). I don't find it...
>>
>> --
>> Benoît Minisini
>>
>>
> ------------------------------------------------------------------------------
>> Lotusphere 2011
>> Register now for Lotusphere 2011 and learn how
>> to connect the dots, take your collaborative environment
>> to the next level, and enter the era of Social Business.
>> http://p.sf.net/sfu/lotusphere-d2d
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
> Benoit,
>
> here i attached a ptoject where should be immediately clear what's my problem.
>

do you imagine the space an image take in memory ?




More information about the User mailing list