[librsvg: 79/90] Oops, use the compositing affine when setting the mask
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 79/90] Oops, use the compositing affine when setting the mask
- Date: Tue, 26 Mar 2019 19:18:43 +0000 (UTC)
commit 5a250ae578f7b9f85d24cd9dbf03a851337b652f
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Mar 21 19:43:18 2019 -0600
Oops, use the compositing affine when setting the mask
This fixes 603550-mask-luminance.svg.
763 pass, 3 fail
rsvg_internals/src/mask.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/mask.rs b/rsvg_internals/src/mask.rs
index ce18c3f6..ad80e460 100644
--- a/rsvg_internals/src/mask.rs
+++ b/rsvg_internals/src/mask.rs
@@ -142,7 +142,7 @@ impl NodeMask {
let mask_surface = compute_luminance_to_alpha(&mask_content_surface, opacity)?;
let cr = draw_ctx.get_cairo_context();
- cr.set_matrix(affines.initial);
+ cr.set_matrix(affines.compositing);
cr.mask_surface(&mask_surface, 0.0, 0.0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]