how to improve the speed of GTK pixmap



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. decrease the times of draw line and draw text.

    I don't konw to do it. It's will be very kind of you that give
some suggestion to improve the speed.

    Thanks!

Regards
Ding Haijun
-----------------------------------------------------
Dept. of Technology and Development,
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
Nanjing, P.R.China
PHONE: +86+25-6630566-59
FUJITSU INTERNAL 7995559
FAX: +86+25-3317685





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]