Function
Rsvg.pixbuf_from_file_at_max_size
Declaration [src]
GdkPixbuf*
rsvg_pixbuf_from_file_at_max_size (
const gchar* filename,
gint max_width,
gint max_height,
GError** error
)
Description [src]
Loads a new GdkPixbuf
from filename
and returns it. This pixbuf is uniformly
scaled so that the it fits into a rectangle of size max_width * max_height
. The
caller must assume the reference to the returned pixbuf. If an error occurred,
error
is set and NULL
is returned.
Deprecated since: | None |
Use |