[Gambas-user] painting graph to image continuously

Fabien Bodard gambas.fr at ...626...
Sat Dec 18 14:44:22 CET 2010


ok wally this is the full demo of what you want to do, and what you
need to do for that. I use like often in gambas
a data/view model ... the drawingarea is just a viewer for the data
and the _draw event contain the rules do draw the datas.
The datas are stored in an array $aDatas.

The Timer emulate the datas entry

2010/12/18 Fabien Bodard <gambas.fr at ...626...>:
>> Fabian,
>>
>> yes, you are right, this may be a problem.
>> I will try to collect the data as short as possible in a data-array
>> and display always only the graph of a segment of this array.
>> Your DemoGraph was helpful to see how the _draw event is
>> used and i'll try this way too.
>> But for now i would like to know how the DrawingArea.Resize
>> works internally and why there are differences in GB2 and GB3.
>>
>> wally
>>
>
> Resize is a procedure inherited from control ... it just resize the
> controle ... but can have conflict with autoarrangement.
>
>
>
> --
> Fabien Bodard
>



-- 
Fabien Bodard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph_gb3-0.0.2.tar.gz
Type: application/x-gzip
Size: 6125 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101218/e2bd679a/attachment.bin>


More information about the User mailing list