RSVG Reference Manual | ||||
---|---|---|---|---|
void rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr); void rsvg_handle_render_cairo_sub (RsvgHandle *handle, cairo_t *cr, const char *id);
void rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr);
Draws a SVG to a Cairo surface
handle : |
A RsvgHandle |
cr : |
A Cairo renderer |
Since 2.14
void rsvg_handle_render_cairo_sub (RsvgHandle *handle, cairo_t *cr, const char *id);
Draws a subset of a SVG to a Cairo surface
handle : |
A RsvgHandle |
cr : |
A Cairo renderer |
id : |
An element's id within the SVG, or NULL to render the whole SVG
|
Since 2.14