[librsvg: 3/13] DrawingCtx.with_alpha - no need to be public




commit 675f7d349d51a90146ae946b7f481344b71a5131
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon May 10 20:56:13 2021 -0500

    DrawingCtx.with_alpha - no need to be public

 src/drawing_ctx.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs
index 7f4de342..906e525b 100644
--- a/src/drawing_ctx.rs
+++ b/src/drawing_ctx.rs
@@ -848,7 +848,7 @@ impl DrawingCtx {
     }
 
     /// Run the drawing function with the specified opacity
-    pub fn with_alpha(
+    fn with_alpha(
         &mut self,
         opacity: UnitInterval,
         draw_fn: &mut dyn FnMut(&mut DrawingCtx) -> Result<BoundingBox, RenderingError>,


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