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 [class@Rsvg.Handle]'s dots-per-inch value (DPI) to compute the "natural size" of the document in pixels, so you should call [method@Rsvg.Handle.set_dpi] beforehand.

Parameters:

this

An [class@Rsvg.Handle]

Returns:

A pixbuf, or null on error. during rendering.