get_pixbuf


Description:

public Pixbuf? get_pixbuf ()

Returns the pixbuf loaded by this.

The pixbuf returned will be reffed, so the caller of this function must assume that ref.

API ordering: This function must be called on a fully-loaded this. See the section "[API ordering]( class.Handle.html#api-ordering)" for details.

This function depends on the [[email protected]]'s dots-per-inch value (DPI) to compute the "natural size" of the document in pixels, so you should call [[email protected]_dpi] beforehand.

Parameters:

this

An [[email protected]]

Returns:

A pixbuf, or null on error. during rendering.




2022 vala-language.org