[Gtk-sharp-list] Gtk DrawingArea & Double-Buffering with Cairo
j-halverson at rr.em-net.ne.jp
Sun Oct 7 07:00:58 UTC 2012
I realize I never responded for long time, but thank you, this is very good
advise and is now exactly what I am doing in my application. In case anyone
else is looking for an answer to this, I have found this solution to work
very well. In short, when I load my chart data in, I do a one-time
calculation using cairo to make the data and store on a surface. The expose
method then paints in the necessary exposed area using this surface. As a
bonus, I am also able to "overwrite" some feedback information on top of
this chart using another surface, and I don't have to recalculate any data,
so I get a good prompt feedback on the screen.
Thanks again Philippe.
View this message in context: http://mono.1490590.n4.nabble.com/Gtk-DrawingArea-Double-Buffering-with-Cairo-tp3738337p4656854.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list