GNOME Bugzilla – Bug 157894
Gdk::Pixbuf::create_from_file() has no size arguments
Last modified: 2004-12-22 21:47:04 UTC
In the Gtk the function: GdkPixbuf * gdk_pixbuf_new_from_file_at_size() takes arguments for height and width size for scaling. The scaling and size methods and arguments do not currently exist in gtkmm 2.4
Moving to 2.5, because that's where we can add API. Note that gdk_pixbuf_new_from_file_at_size() was new in GTK+ 2.4, but we didn't wrap it yet. At the moment, we just use gdk_pixbuf_new_from_file(). A patch would be welcome.
Note also that this should be a new overload of Pixbuf::create_from_file(), instead of just adding new method parameters with default values, because we can not change the existing method signature, because that would break ABI.
This is done in the HEAD branch.