Handle.getPixbuf

Returns the pixbuf loaded by handle. 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 handle. See the section "API ordering" for details.

This function depends on the rsvg.handle.Handle's dots-per-inch value (DPI) to compute the "natural size" of the document in pixels, so you should call rsvg.handle.Handle.setDpi beforehand.

class Handle
getPixbuf
()

Return Value

Type: gdkpixbuf.pixbuf.Pixbuf

A pixbuf, or null on error. during rendering.