[librsvg: 8/27] Update doc comment




commit f750ec7bb9682874a45d574009e43b17634af912
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri May 7 19:59:07 2021 -0500

    Update doc comment

 src/drawing_ctx.rs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs
index 9c1eb25f..21b42d3a 100644
--- a/src/drawing_ctx.rs
+++ b/src/drawing_ctx.rs
@@ -397,8 +397,9 @@ impl DrawingCtx {
 
     /// Pushes a viewport size for normalizing `Length` values.
     ///
-    /// You should pass the returned `ViewParams` to all subsequent `CssLength.normalize()`
-    /// calls that correspond to this viewport.
+    /// With the returned `ViewParams`, plus a `ComputedValues`, you can create a
+    /// `NormalizeParams` that can be used with calls to `CssLength.to_user()` that
+    /// correspond to this viewport.
     ///
     /// The viewport will stay in place, and will be the one returned by
     /// `get_view_params()`, until the returned `ViewParams` is dropped.


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