Re: GDK window_clear & draw_pixmap
- From: Havoc Pennington <hp redhat com>
- To: Adam Kopacz <Adam K klografx de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GDK window_clear & draw_pixmap
- Date: 05 Jun 2001 00:40:28 -0400
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]