|
| gboolean | rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr) |
| | rsvg_handle_render_cairo: @handle: an #RsvgHandle @cr: a Cairo context
|
| |
| gboolean | rsvg_handle_render_cairo_sub (RsvgHandle *handle, cairo_t *cr, const char *id) |
| | rsvg_handle_render_cairo_sub: @handle: an #RsvgHandle @cr: a Cairo context @id: (nullable): element id starting with #, or NULL for the whole SVG
|
| |
| gboolean | rsvg_handle_render_document (RsvgHandle *handle, cairo_t *cr, const RsvgRectangle *viewport, GError **error) |
| | Draw the whole SVG into @viewport on @cr.
|
| |
| gboolean | rsvg_handle_render_layer (RsvgHandle *handle, cairo_t *cr, const char *id, const RsvgRectangle *viewport, GError **error) |
| | rsvg_handle_render_layer: @handle: an #RsvgHandle @cr: a Cairo context @id: (nullable): element id starting with #, or NULL for the whole SVG @viewport: viewport for the whole document @error: return location for a #GError
|
| |
| gboolean | rsvg_handle_render_element (RsvgHandle *handle, cairo_t *cr, const char *id, const RsvgRectangle *element_viewport, GError **error) |
| | rsvg_handle_render_element: @handle: an #RsvgHandle @cr: a Cairo context @id: (nullable): element id starting with #, or NULL for the whole SVG @element_viewport: size at which to draw that element @error: return location for a #GError
|
| |
| gboolean | rsvg_handle_get_geometry_for_layer (RsvgHandle *handle, const char *id, const RsvgRectangle *viewport, RsvgRectangle *out_ink_rect, RsvgRectangle *out_logical_rect, GError **error) |
| | Geometry of an element (or the whole SVG) as if rendered to @viewport.
|
| |
| gboolean | rsvg_handle_get_geometry_for_element (RsvgHandle *handle, const char *id, RsvgRectangle *out_ink_rect, RsvgRectangle *out_logical_rect, GError **error) |
| | rsvg_handle_get_geometry_for_element: @handle: an #RsvgHandle @id: (nullable): element id starting with #, or NULL for the whole SVG @out_ink_rect: (out)(optional): ink rectangle @out_logical_rect: (out)(optional): logical rectangle @error: return location for a #GError
|
| |