Deprecatedfilename: stringA file name
Deprecatedx_zoom: numberThe horizontal zoom factor
Deprecatedy_zoom: numberThe vertical zoom factor
Deprecatedmax_width: numberThe requested max width
Deprecatedmax_height: numberThe requested max height
A pixbuf, or null on error.
Use Rsvg.Handle.new_from_file and Rsvg.Handle.render_document instead.
Loads a new GdkPixbuf.Pixbuf from
filenameand returns it. This pixbuf is scaled from the size indicated by the file by a factor ofx_zoomandy_zoom. If the resulting pixbuf would be larger than max_width/max_heigh it is uniformly scaled down to fit in that rectangle. The caller must assume the reference to the returned pixbuf. If an error occurred,erroris set andNULLis returned.