[librsvg/rustify-rsvg-convert] rsvg-convert: Actually cr.paint() the background color
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustify-rsvg-convert] rsvg-convert: Actually cr.paint() the background color
- Date: Fri, 22 Jan 2021 23:34:28 +0000 (UTC)
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]