Re: GDK window_clear & draw_pixmap



Adam Kopacz <Adam K klografx de> writes:

i'm the main developer of QIV (a GDK/ImLib based image
viewer -> klografx.net/qiv) and have a small question:

currently QIV is showing images using:

- gdk_window_clear(..)
- gdk_draw_pixmap(..)
- gdk_flush()

this works fine but the image flickering on move or zoom.. 
is there a better way to clean the window and redraw the image 
without the ugly flicker effect ???????


Use a backing pixmap as in the "scribble" example in the
tutorial. Neither the _clear() nor the _flush() should be needed.

Havoc




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