Creates a #GdkPixbuf the same size as the entire SVG loaded into @handle, but
only renders the sub-element that has the specified @id (and all its
sub-sub-elements recursively). If @id is #NULL, this function renders the
whole SVG.
If you need to render an image which is only big enough to fit a particular
sub-element of the SVG, consider using rsvg_handle_render_cairo_sub(), upon a
surface that is just the size returned by rsvg_handle_get_dimensions_sub().
You will need to offset the rendering by the amount returned in
rsvg_handle_get_position_sub().
Creates a #GdkPixbuf the same size as the entire SVG loaded into @handle, but only renders the sub-element that has the specified @id (and all its sub-sub-elements recursively). If @id is #NULL, this function renders the whole SVG.
If you need to render an image which is only big enough to fit a particular sub-element of the SVG, consider using rsvg_handle_render_cairo_sub(), upon a surface that is just the size returned by rsvg_handle_get_dimensions_sub(). You will need to offset the rendering by the amount returned in rsvg_handle_get_position_sub().