Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Adrien Prokopowicz
Le dimanche 10 juin 2012 00:32:16 Benoît Minisini a écrit : > Le 10/06/2012 00:02, Adrien Prokopowicz a écrit : > > I have another little question. > > > > In the project I sent you, I added two lines after FillRect() : > >Draw.Text("Gambas", 50, 50) > >Draw.Text("Gambas", 100, 100) > > >

Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Benoît Minisini
Le 10/06/2012 00:02, Adrien Prokopowicz a écrit : > I have another little question. > In the project I sent you, I added two lines after FillRect() : > >Draw.Text("Gambas", 50, 50) >Draw.Text("Gambas", 100, 100) > > The first takes around 2 msec, the second only 120usec. > Is there any font

Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Adrien Prokopowicz
Le samedi 9 juin 2012 23:24:58 vous avez écrit : > Le samedi 9 juin 2012 22:46:46 Benoît Minisini a écrit : > > >> Here is a little test project. > > >> > > >> And I just noticed that there isn't this problem with gb.gtk. So for > > >> me it's a > > >> bug in gb.qt4. > > > > > > On my machine, Dr

Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Adrien Prokopowicz
Le samedi 9 juin 2012 22:46:46 Benoît Minisini a écrit : > >> Here is a little test project. > >> > >> And I just noticed that there isn't this problem with gb.gtk. So for > >> me it's a > >> bug in gb.qt4. > > > > On my machine, Draw.Begin with gb.gtk takes about 120 micro-seconds the > > first

Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Benoît Minisini
>> Here is a little test project. >> >> And I just noticed that there isn't this problem with gb.gtk. So for >> me it's a >> bug in gb.qt4. >> > > On my machine, Draw.Begin with gb.gtk takes about 120 micro-seconds the > first time it is called, 50 us the next times. With gb.qt4, it takes > about 3

Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Benoît Minisini
Le 09/06/2012 21:05, Adrien Prokopowicz a écrit : > Le samedi 9 juin 2012 20:45:49 Benoît Minisini a écrit : >> Le 09/06/2012 19:41, Adrien Prokopowicz a écrit : >>> Hi all, >>> >>> in my project I have a cached DrawArea that I need to redraw each time it >>> is resized. My code is like this : >>>

Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Adrien Prokopowicz
Le samedi 9 juin 2012 20:45:49 Benoît Minisini a écrit : > Le 09/06/2012 19:41, Adrien Prokopowicz a écrit : > > Hi all, > > > > in my project I have a cached DrawArea that I need to redraw each time it > > is resized. My code is like this : > > > > Public Sub RefershDrawArea() > > > >Draw.B

Re: [Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Benoît Minisini
Le 09/06/2012 19:41, Adrien Prokopowicz a écrit : > Hi all, > > in my project I have a cached DrawArea that I need to redraw each time it is > resized. My code is like this : > > Public Sub RefershDrawArea() > >Draw.Begin($drawArea) > >'Drawing methods here ... > >Draw.End > > End > > T

[Gambas-user] Draw.Begin/End execution time

2012-06-09 Thread Adrien Prokopowicz
Hi all, in my project I have a cached DrawArea that I need to redraw each time it is resized. My code is like this : Public Sub RefershDrawArea() Draw.Begin($drawArea) 'Drawing methods here ... Draw.End End That works perfectly, but when I launch the profiler, he tells me that the Dr