summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-07-13 19:43:09 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-07-13 19:43:09 +0000
commitb9db8ea3ea12dcf7cb608c1d666ac7a82e489b60 (patch)
tree5fb67a8a4d639fc807235cfbb1c51fa6a7a0121c /gdk-pixbuf/gdk-pixbuf.h
parentc6ce9c1564ab0576754803eba9f0a81499756ebb (diff)
downloadgtk+-b9db8ea3ea12dcf7cb608c1d666ac7a82e489b60.tar.gz
New function to load an image from a file at a specified size. (#105326,
2003-07-13 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf.h: * gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): New function to load an image from a file at a specified size. (#105326, Dom Lachowicz)
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf.h')
-rw-r--r--gdk-pixbuf/gdk-pixbuf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf.h b/gdk-pixbuf/gdk-pixbuf.h
index ebace72740..0f5728f336 100644
--- a/gdk-pixbuf/gdk-pixbuf.h
+++ b/gdk-pixbuf/gdk-pixbuf.h
@@ -131,6 +131,11 @@ GdkPixbuf *gdk_pixbuf_new_subpixbuf (GdkPixbuf *src_pixbuf,
GdkPixbuf *gdk_pixbuf_new_from_file (const char *filename,
GError **error);
+GdkPixbuf *gdk_pixbuf_new_from_file_at_size (const char *filename,
+ int width,
+ int height,
+ GError **error);
+
GdkPixbuf *gdk_pixbuf_new_from_data (const guchar *data,
GdkColorspace colorspace,
gboolean has_alpha,