[librsvg: 5/15] List rsvg_handle_render_document() as the preferred way to render an SVG
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 5/15] List rsvg_handle_render_document() as the preferred way to render an SVG
- Date: Tue, 27 Oct 2020 23:36:50 +0000 (UTC)
commit 5cf6a19733e9cfb46c194f1602cf7355bc6937dc
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Oct 27 12:43:55 2020 -0600
List rsvg_handle_render_document() as the preferred way to render an SVG
librsvg/rsvg.h | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/librsvg/rsvg.h b/librsvg/rsvg.h
index 6432df67..7bead03c 100644
--- a/librsvg/rsvg.h
+++ b/librsvg/rsvg.h
@@ -221,14 +221,9 @@ GType rsvg_error_get_type (void);
*
* # Rendering
*
- * The preferred way to render an already-loaded RsvgHandle is to use
- * rsvg_handle_render_cairo(). Please see its documentation for details.
- *
- * Alternatively, you can use rsvg_handle_get_pixbuf() to directly obtain a
- * #GdkPixbuf with the rendered image. This is simple, but it does not let you
- * control the size at which the SVG will be rendered. It will just be rendered
- * at the size which rsvg_handle_get_dimensions() would return, which depends on
- * the dimensions that librsvg is able to compute from the SVG data.
+ * The preferred way to render a whole SVG document is to use
+ * rsvg_handle_render_document(). Please see its documentation for
+ * details.
*
* # API ordering
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]