On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote:
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
2010/12/22 wally wa...@voosen.eu:
On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote:
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
On Wednesday 22 December 2010 18:55:55 Fabien Bodard wrote:
2010/12/22 wally wa...@voosen.eu:
On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote:
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
Benoit,
here i attached a ptoject where should be immediately clear what's my
problem.
wally
The cached DrawingArea resize problem should have been fixed in revision
#3394.
Regards,
--
Benoît Minisini
--
This is the vectorial vertion (use the painter class)
2010/12/18 wally wa...@voosen.eu:
On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote:
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
On Sunday 19 December 2010 11:33:39 Fabien Bodard wrote:
This is the vectorial vertion (use the painter class)
2010/12/18 wally wa...@voosen.eu:
On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote:
ok wally this is the full demo of what you want to do, and what you
need to do for
all the draw need to be done in the drawing area witch have the
property painted to true (for use the paint class)
never draw from the outside
paint.begin is form images
normally if your program have a good desing all the draw can be done
in the _draw event. It's like a game loop
2010/12/19
On Friday 17 December 2010 23:36:37 Fabien Bodard wrote:
2010/12/17 wally wa...@voosen.eu:
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
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
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
On Saturday 18 December 2010 14:44:22 Fabien Bodard wrote:
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
On Thursday 16 December 2010 22:42:14 Benoît Minisini wrote:
On Thursday 16 December 2010 20:15:21 Fabien Bodard wrote:
I hope this can help you.
This is in few lines how to make a real time graph in gambas
Fabian,
thank you very much, i'll study this code tomorrow.
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
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
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
2010/12/17 wally wa...@voosen.eu:
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
On Wednesday 15 December 2010 18:57:16 Fabien Bodard wrote:
Le 15 décembre 2010 16:56, Benoît Minisini
gam...@users.sourceforge.net a écrit :
thanks :) but ...Image , Not a drawable Object
If t myImage1.W Then
myImage1.Resize(myImage1.w + 1, myImage1.H)
Draw.Begin(myImage1)
On Thursday 16 December 2010 10:21:16 wally wrote:
On Wednesday 15 December 2010 18:57:16 Fabien Bodard wrote:
Le 15 décembre 2010 16:56, Benoît Minisini
gam...@users.sourceforge.net a écrit :
thanks :) but ...Image , Not a drawable Object
If t myImage1.W Then
On Thursday 16 December 2010 18:03:21 Fabien Bodard wrote:
if you want us to help you ... please be more explicit on what you want to
do !
first why do you want to resize the drawing area (for scrolling ?)
are you sure you have understand all the capabilities of a drawing
area ?
On Thursday 16 December 2010 22:42:14 Benoît Minisini wrote:
On Thursday 16 December 2010 20:15:21 Fabien Bodard wrote:
I hope this can help you.
This is in few lines how to make a real time graph in gambas
Fabian,
thank you very much, i'll study this code tomorrow.
I'm trying to paint a continuous graph to an image, the image should grow
in width as needed. I thought the following code might do the job but it
generates not a clear graph after first Image.Resize. (see attachment)
How looks a better coding to do this job ?
thanks wally
code: GB3
On Wednesday 15 December 2010 15:10:46 Benoît Minisini wrote:
I'm trying to paint a continuous graph to an image, the image should grow
in width as needed. I thought the following code might do the job but it
generates not a clear graph after first Image.Resize. (see attachment)
How
Benoit,
thank you,
but how to paint the background of the new part first ?
wally :)
this works : ... but isn't there a smarter way ?
If t myImage1.W Then
myImage1.Resize(myImage1.w + 1, myImage1.H)
Paint.Begin(myImage1)
Paint.Brush =
On Wednesday 15 December 2010 16:34:38 Benoît Minisini wrote:
Benoit,
thank you,
but how to paint the background of the new part first ?
wally :)
this works : ... but isn't there a smarter way ?
If t myImage1.W Then
myImage1.Resize(myImage1.w + 1,
On Wednesday 15 December 2010 16:34:38 Benoît Minisini wrote:
Benoit,
thank you,
but how to paint the background of the new part first ?
wally :)
this works : ... but isn't there a smarter way ?
If t myImage1.W Then
myImage1.Resize(myImage1.w + 1,
thanks :) but ...Image , Not a drawable Object
If t myImage1.W Then
myImage1.Resize(myImage1.w + 1, myImage1.H)
Draw.Begin(myImage1) --- Image , Not a drawable Object
Draw.FillRect(myImage1.W - 1, 0, 1, myImage1.H, Color.RGB(255, 255,
223)) Draw.End
Yes, I
Le 15 décembre 2010 16:56, Benoît Minisini
gam...@users.sourceforge.net a écrit :
thanks :) but ... Image , Not a drawable Object
If t myImage1.W Then
myImage1.Resize(myImage1.w + 1, myImage1.H)
Draw.Begin(myImage1) --- Image , Not a drawable Object
27 matches
Mail list logo