Top | ![]() |
![]() |
![]() |
![]() |
gboolean rsvg_handle_render_cairo (RsvgHandle *handle
,cairo_t *cr
);
Draws a loaded SVG handle to a Cairo context. Drawing will occur with
respect to the cr
's current transformation: for example, if the cr
has a
rotated current transformation matrix, the whole SVG will be rotated in the
rendered version.
Since: 2.14
gboolean rsvg_handle_render_cairo_sub (RsvgHandle *handle
,cairo_t *cr
,const char *id
);
Draws a subset of a loaded SVG handle to a Cairo context. Drawing will occur with
respect to the cr
's current transformation: for example, if the cr
has a
rotated current transformation matrix, the whole SVG will be rotated in the
rendered version.
handle |
||
cr |
A Cairo renderer |
|
id |
An element's id within the SVG, or |
[nullable] |
Since: 2.14