Re: how to improve the speed of GTK pixmap

2003-01-12 Thread Sven Neumann
Hi, magicdhj [EMAIL PROTECTED] writes: I am now trying to use gtk to draw graphic. And I use the double buffer to avoid flicker. you don't need to do any double buffering with gtk+-2.x since the library transparently does it for you. If you implement your own buffering on top of it, you

Re: how to improve the speed of GTK pixmap

2003-01-12 Thread magicdhj
Thanks, Sven Neumann I use the GTK1.2 to develop my program. I have not upgrade it to the 2.0 version. I think you are good at the Gtk2.0 now. Would you please give some suggestion to upgrade my program to the new version? Regards Ding Haijun -

how to improve the speed of GTK pixmap

2003-01-10 Thread magicdhj
Hi,all I am now trying to use gtk to draw graphic. And I use the double buffer to avoid flicker. In the graphic, I will draw hundreds of line and text. So when I redraw the graphic, it will be very slow. Some advice is gived to me as following: 1. don't use pixmap as the buffer. 2.