[librsvg: 12/15] render_cairo/render_cairo_sub - document where they use intrinsic_size_in_pixels




commit 8cefbca71626491d83ba4cddf549a36eb97247e2
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Oct 27 17:08:29 2020 -0600

    render_cairo/render_cairo_sub - document where they use intrinsic_size_in_pixels

 librsvg/rsvg-cairo.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/librsvg/rsvg-cairo.h b/librsvg/rsvg-cairo.h
index d7c1bbd6..87821057 100644
--- a/librsvg/rsvg-cairo.h
+++ b/librsvg/rsvg-cairo.h
@@ -49,7 +49,8 @@ G_BEGIN_DECLS
  *     If the SVG document has both <literal>width</literal> and <literal>height</literal>
  *     attributes with physical units (px, in, cm, mm, pt, pc) or font-based units (em,
  *     ex), the function computes the size directly based on the dots-per-inch (DPI) you
- *     have configured with rsvg_handle_set_dpi().
+ *     have configured with rsvg_handle_set_dpi().  This is the same approach as
+ *     rsvg_handle_get_intrinsic_size_in_pixels().
  *   </listitem>
  *   <listitem>
  *     Otherwise, if there is a <literal>viewBox</literal> attribute and both
@@ -116,7 +117,8 @@ gboolean rsvg_handle_render_cairo (RsvgHandle *handle, cairo_t *cr);
  *     If the SVG document has both <literal>width</literal> and <literal>height</literal>
  *     attributes with physical units (px, in, cm, mm, pt, pc) or font-based units (em,
  *     ex), the function computes the size directly based on the dots-per-inch (DPI) you
- *     have configured with rsvg_handle_set_dpi().
+ *     have configured with rsvg_handle_set_dpi().  This is the same approach as
+ *     rsvg_handle_get_intrinsic_size_in_pixels().
  *   </listitem>
  *   <listitem>
  *     Otherwise, if there is a <literal>viewBox</literal> attribute and both


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]