From b9db8ea3ea12dcf7cb608c1d666ac7a82e489b60 Mon Sep 17 00:00:00 2001 From: Matthias Clasen <maclas@gmx.de> Date: Sun, 13 Jul 2003 19:43:09 +0000 Subject: 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) --- gdk-pixbuf/gdk-pixbuf.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdk-pixbuf/gdk-pixbuf.h') 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, -- cgit v1.2.1