diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-01-05 22:49:43 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-01-05 22:49:43 +0000 |
commit | cc76a598ba1069e68a7afce20423d5ddd4f7ecb2 (patch) | |
tree | 4bd9c04227560aa9561837c32ca911bc375b6c24 /demos/testpixbuf-scale.c | |
parent | 33e963e7af498d2e91dd2cf607cbc93c880d055c (diff) | |
download | gtk+-cc76a598ba1069e68a7afce20423d5ddd4f7ecb2.tar.gz |
Added a README with a TODO and some explainations of the algorithms.
2000-01-05 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/README: Added a README with a TODO
and some explainations of the algorithms.
* gdk-pixbuf/testpixbuf-scale.c: Set a background pixmap of None
to reduce flashing when resizing.
Diffstat (limited to 'demos/testpixbuf-scale.c')
-rw-r--r-- | demos/testpixbuf-scale.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/testpixbuf-scale.c b/demos/testpixbuf-scale.c index c2891bd07e..da2e2b0ed6 100644 --- a/demos/testpixbuf-scale.c +++ b/demos/testpixbuf-scale.c @@ -30,6 +30,8 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data) { GdkPixbuf *dest; + gdk_window_set_back_pixmap (widget->window, NULL, FALSE); + dest = gdk_pixbuf_new (ART_PIX_RGB, FALSE, 8, event->area.width, event->area.height); if (pixbuf->art_pixbuf->has_alpha || overall_alpha != 255) |