Re: [gtkmm] Drawing primitives on top of an image.
- From: Tassos Bassoukos <abas aix meng auth gr>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Drawing primitives on top of an image.
- Date: Thu, 28 Aug 2003 14:37:27 +0300
Christer Palm wrote:
Paul Davis wrote:
also, you should only *ever* put drawing functions (for any kind of
visible thing: a line, an image, text, etc) in an expose event
handler.
Or, alternatively, draw into an offscreen pixmap and let the expose
event handler update from that. Depending on what the original poster is
up to, this might be what he's looking for.
Indeed. Not to nitpick, but note that gtk/gdk already implements by
default double-buffering for exposed areas, so this is only an issue if
drawing takes more time than copying (see f.e. fractal imaging).
Anyway, my &eur;0.02 :-)
Tassos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]