Double Buffering



Hi

i was wanting to highlight a portion of an image just by clicking and dragging over it. When i drew directly on the image there was a lot of flickering. So now i always draw to a offscreen pixmap and then display that pixmap. It works nicely and there is no flickering. The problem is that i draw and show the pixmap on motion_notify event and hence for large pictures like 600 * 400 my system starts to go really slow and it looks awfull.

Could anyone please help me out.
Thanks

Abhishek Samuel

_________________________________________________________________
Screensavers unlimited! http://www.msn.co.in/Download/screensaver/ Download now!




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