pixbufFromFileAtZoom
fn
gdkpixbuf.pixbuf.Pixbuf pixbufFromFileAtZoom(string filename, double xZoom, double yZoom)Loads a new [gdkpixbuf.pixbuf.Pixbuf] from filename and returns it. 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, error is set and NULL is returned.
Parameters
filename | A file name |
xZoom | The horizontal zoom factor |
yZoom | The vertical zoom factor |
Returns
A pixbuf, or null on error.
Throws
[ErrorWrap]
Deprecated
Use [rsvg.handle.Handle.newFromFile] and [rsvg.handle.Handle.renderDocument] instead.