[librsvg: 6/17] c_api/sizing.rs: links to doc items by name




commit 75db58be746219e34d11990479e3f2d2412160ff
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Jun 23 10:52:36 2021 -0500

    c_api/sizing.rs: links to doc items by name
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/552>

 src/c_api/sizing.rs | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/c_api/sizing.rs b/src/c_api/sizing.rs
index ea780296..adb95ce4 100644
--- a/src/c_api/sizing.rs
+++ b/src/c_api/sizing.rs
@@ -1,10 +1,10 @@
 //! Compute an SVG document's size with the legacy logic.
 //!
-//! See the documentation for [`LegacySize`](trait.LegacySize.html).  The legacy C API
-//! functions like `rsvg_handle_render_cairo()` do not take a viewport argument: they do
-//! not know how big the caller would like to render the document; instead they compute a
-//! "natural size" for the document based on its `width`/`height`/`viewBox` and some
-//! heuristics for when they are missing.
+//! See the documentation for [`LegacySize`].  The legacy C API functions like
+//! `rsvg_handle_render_cairo()` do not take a viewport argument: they do not know how big
+//! the caller would like to render the document; instead they compute a "natural size"
+//! for the document based on its `width`/`height`/`viewBox` and some heuristics for when
+//! they are missing.
 //!
 //! The new style C functions like `rsvg_handle_render_document()` actually take a
 //! viewport, which indicates how big the result should be.  This matches the expectations


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