[librsvg/rustify-rsvg-convert: 61/78] rsvg-convert: Actually cr.paint() the background color
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustify-rsvg-convert: 61/78] rsvg-convert: Actually cr.paint() the background color
- Date: Wed, 3 Feb 2021 10:18:31 +0000 (UTC)
commit c36ad336c00f226adc32dc67c91bbbde496a0cbb
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]