Re: porting gdk -> cairo

2010-08-17 Thread Dov Grobgeld
I don't know if you noticed it in another thread, but I created a working example of the approach that I described in my earlier email. See: http://github.com/dov/dovtk-lasso See the program test-dovtk-lasso.c for an example of how to use it. Please let me know if you need more explanations. Th

GTK+ 2.90.6

2010-08-17 Thread Matthias Clasen
GTK+ 2.90.6 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.90/ http://download.gnome.org/sources/gtk+/2.90/ 31d5afda85fe0d9b4dbfdc265fed2f07cd0ed214bc2055310816f471e2f762dc gtk +-2.90.6.tar.bz2 231cda8623f478101bf4a8397f312aed16c4a3e8efa41f82b8570760c0a13e46 gtk +-2.90.6.tar.g

Re: Performance issues of GDK deprecation in favour of Cairo

2010-08-17 Thread Chris Vine
On Tue, 17 Aug 2010 12:26:04 +0100 James Morris wrote: > On 17 August 2010 11:23, Chris Vine > wrote: > > Can you avoid redrawing the entire list of rectangles on each expose > > event? > > Yes this is what I'm hoping. Though I've been a bit mixed up with how > Cairo and GTK work together. > >

Re: Performance issues of GDK deprecation in favour of Cairo

2010-08-17 Thread James Morris
On 17 August 2010 11:23, Chris Vine wrote: > On Tue, 17 Aug 2010 10:01:43 +0100 > James Morris wrote: > >> I see that some GDK drawing functions and graphics contexts have been >> deprecated in favour of using Cairo. >> >> Yesterday I spent a few hours *removing* Cairo code from my fledgling >> G

Re: Performance issues of GDK deprecation in favour of Cairo

2010-08-17 Thread Chris Vine
On Tue, 17 Aug 2010 10:01:43 +0100 James Morris wrote: > I see that some GDK drawing functions and graphics contexts have been > deprecated in favour of using Cairo. > > Yesterday I spent a few hours *removing* Cairo code from my fledgling > GTK application and replacing it with gdk_draw_rectang

Performance issues of GDK deprecation in favour of Cairo

2010-08-17 Thread James Morris
Hi, I see that some GDK drawing functions and graphics contexts have been deprecated in favour of using Cairo. Yesterday I spent a few hours *removing* Cairo code from my fledgling GTK application and replacing it with gdk_draw_rectangle, gdk_gc_set_rgb_fg_color, and gdk_gc_set_function. I did th