Re: GDK window_clear & draw_pixmap



Reply to eMail from 'hp redhat com' about 'GDK window_clear & draw_pixmap'
Hi Havoc Pennington,

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

we use "gdk_window_set_back_pixmap" in window-mode and "gdk_draw_pixmap"
in fullscreen mode.. but we need the flush & clean because QIV is also 
drawing a status_bar (gdk_draw_rectangle).. without clean/flush GDK is
showing the old image to after moving or zooming.. 

maybe you could look in image.c from:
http://www.klografx.net/qiv/devel/qiv-1.7-pre8.tgz



-- 
Adam Kopacz                                kLoGraFX Network
Kieselgrund 39                          http://klografx.de/
D-68239 Mannheim                          http://kopacz.de/
___________________________________________________________
Tel: 06214816775  -  Mobil: 01736602174  -  ICQ UIN: 257499







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