diff options
author | Mark Crichton <crichton@src.gnome.org> | 1999-07-19 02:13:34 +0000 |
---|---|---|
committer | Mark Crichton <crichton@src.gnome.org> | 1999-07-19 02:13:34 +0000 |
commit | 6423183a63b8294c52597bfa96ad2e1bb015ffa1 (patch) | |
tree | a76c75d7145b33afceca87831f8b3ffd025caadc /demos | |
parent | e9ed2c18a7de02f9e73212b56a9d134ab3aed372 (diff) | |
download | gdk-pixbuf-6423183a63b8294c52597bfa96ad2e1bb015ffa1.tar.gz |
Ok minor changes.
Ok minor changes.
No longer make a version.h, and cleaned up some code here and there, and added
a quickie dirty-hack rotation function. However, it rotates at the origin.
Is this what we want? Or do we want a rotate w.r.t. the center of the pixbuf?
Anyone.
Mark
Diffstat (limited to 'demos')
-rw-r--r-- | demos/testpixbuf.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c index e81d4607c..97a82f74a 100644 --- a/demos/testpixbuf.c +++ b/demos/testpixbuf.c @@ -1,6 +1,6 @@ -/* GTK - The GIMP Toolkit - * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald +/* testpixbuf -- test program for gdk-pixbuf code + * Copyright (C) 1999 Mark Crichton, Larry Ewing * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -18,18 +18,6 @@ * Boston, MA 02111-1307, USA. */ -/* - * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS - * file for a list of people on the GTK+ Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GTK+ at ftp://ftp.gtk.org/pub/gtk/. - */ - - -/* Note: these #includes differ slightly from the testrgb.c file included - in the GdkRgb release. */ - -/* For gettimeofday */ #include <stdlib.h> #include <unistd.h> #include <string.h> @@ -161,6 +149,7 @@ main (int argc, char **argv) for (i = 1; i < argc; i++) { pixbuf = gdk_pixbuf_load_image (argv[i]); + pixbuf = gdk_pixbuf_rotate(pixbuf, 42.0); if (pixbuf) { |