pixbuf_from_file_at_zoom


Description:


[ Version ( deprecated = true ) ]
public Pixbuf? pixbuf_from_file_at_zoom (string filename, double x_zoom, double y_zoom) throws Error

Warning: pixbuf_from_file_at_zoom is deprecated.

Loads a new `GdkPixbuf` from filename and returns it.

Note:

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.

Parameters:

filename

A file name

x_zoom

The horizontal zoom factor

y_zoom

The vertical zoom factor

Returns:

A pixbuf, or null on error.


Namespace: Rsvg
Package: librsvg-2.0



2022 vala-language.org