[librsvg/rustify-rsvg-convert] rsvg-convert: Actually cr.paint() the background color



commit 7bf0d433fc0ed8925fc9aa60567fe63b32acf298
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Jan 22 17:32:29 2021 -0600

    rsvg-convert: Actually cr.paint() the background color
    
    I'm too lazy to refactor test_utils.rs to be compatible with predicates.

 src/bin/rsvg-convert.rs | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/bin/rsvg-convert.rs b/src/bin/rsvg-convert.rs
index e3f22727..7df81ef6 100644
--- a/src/bin/rsvg-convert.rs
+++ b/src/bin/rsvg-convert.rs
@@ -203,6 +203,8 @@ impl Surface {
                 rgba.blue_f32().into(),
                 rgba.alpha_f32().into(),
             );
+
+            cr.paint();
         }
 
         cr.scale(scale.x, scale.y);


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