diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-08-26 05:33:13 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-26 05:33:13 +0000 |
commit | b06c4fbb489762f8537b3f7c3be268ff0de58ec3 (patch) | |
tree | 80ba23e469a421d7cb12967800e92a5da589672b /gdk-pixbuf/gdk-pixbuf-core.h | |
parent | 5dfd162c4c9463c06a923fa7d046fcac956f3c53 (diff) | |
download | gdk-pixbuf-b06c4fbb489762f8537b3f7c3be268ff0de58ec3.tar.gz |
Add gdk_pixbuf_new_from_file_at_scale(), which is just like
Thu Aug 26 01:23:16 2004 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-core.h:
* gdk-pixbuf.symbols:
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale):
Add gdk_pixbuf_new_from_file_at_scale(), which is just
like gdk_pixbuf_new_from_file_at_size(), but optionally
ignores the aspect ratio. (#136395, Dom Lachowicz)
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-core.h')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-core.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-core.h b/gdk-pixbuf/gdk-pixbuf-core.h index 3110a6238..c0f5668ba 100644 --- a/gdk-pixbuf/gdk-pixbuf-core.h +++ b/gdk-pixbuf/gdk-pixbuf-core.h @@ -122,6 +122,11 @@ GdkPixbuf *gdk_pixbuf_new_from_file_at_size (const char *filename, int width, int height, GError **error); +GdkPixbuf *gdk_pixbuf_new_from_file_at_scale (const char *filename, + int width, + int height, + gboolean keep_aspect_ratio, + GError **error); GdkPixbuf *gdk_pixbuf_new_from_data (const guchar *data, GdkColorspace colorspace, |