Warning: pixbuf_from_file_at_zoom is deprecated.
Loads a new `GdkPixbuf` from filename
and returns it.
Use [[email protected]_from_file] and [[email protected]_document] instead.
This pixbuf is scaled from the size indicated by the file by a factor of x_zoom
and y_zoom
. The caller must
assume the reference to the returned pixbuf. If an error occurred, throws is set and `NULL` is returned.
filename |
A file name |
x_zoom |
The horizontal zoom factor |
y_zoom |
The vertical zoom factor |
A pixbuf, or null on error. |