diff options
author | Cody Russell <bratsche@src.gnome.org> | 2000-01-13 07:24:49 +0000 |
---|---|---|
committer | Cody Russell <bratsche@src.gnome.org> | 2000-01-13 07:24:49 +0000 |
commit | 7bfdf70ae137731c64249f0aecc34023dff74cf8 (patch) | |
tree | 73216079328199a076e3a041559be254f5ed530f /gdk-pixbuf/gdk-pixbuf.h | |
parent | b09b772727d9bec5101e2327f3597385971635e7 (diff) | |
download | gtk+-7bfdf70ae137731c64249f0aecc34023dff74cf8.tar.gz |
Added gdk_pixbuf_copy_area() to gdk-pixbuf-utils.c and gdk-pixbuf.h.
Removed some unused variable warnings in gdk-pixbuf-drawable.c.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf.h b/gdk-pixbuf/gdk-pixbuf.h index 82784c3023..91898c1eec 100644 --- a/gdk-pixbuf/gdk-pixbuf.h +++ b/gdk-pixbuf/gdk-pixbuf.h @@ -163,6 +163,13 @@ GdkPixbuf *gdk_pixbuf_get_from_drawable (GdkPixbuf *dest, int dest_x, int dest_y, int width, int height); +/* Copy an area of a pixbuf into another one */ +void gdk_pixbuf_copy_area (GdkPixbuf *src_pixbuf, + gint src_x, gint src_y, + gint width, gint height, + GdkPixbuf *dest_pixbuf, + gint dest_x, gint dest_y); + /* Scaling */ void gdk_pixbuf_scale (GdkPixbuf *src, |