[librsvg/ci-mods: 2/2] Revert "(#609): Apply the clip node's transform in DrawingCtx.clip_to_node()"
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/ci-mods: 2/2] Revert "(#609): Apply the clip node's transform in DrawingCtx.clip_to_node()"
- Date: Thu, 8 Oct 2020 08:00:34 +0000 (UTC)
commit ae6af50ffeb8e9c19aab561bf7b7cf941419bd19
Author: Sven Neumann <sven svenfoo org>
Date: Thu Oct 8 09:50:45 2020 +0200
Revert "(#609): Apply the clip node's transform in DrawingCtx.clip_to_node()"
Let's see a test failing ...
This reverts commit 69eb88670824e18c8f7ea216f66f9ac9ab3e90de.
rsvg_internals/src/drawing_ctx.rs | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index 13e631a3..9b7cd838 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -435,14 +435,9 @@ impl DrawingCtx {
let units = borrow_element_as!(node, ClipPath).get_units();
if let Ok(transform) = bbox.rect_to_transform(units) {
- let node_transform = node
- .borrow_element()
- .get_transform()
- .post_transform(&transform);
-
let cascaded = CascadedValues::new_from_node(node);
- self.with_saved_transform(Some(node_transform), &mut |dc| {
+ self.with_saved_transform(Some(transform), &mut |dc| {
let cr = dc.cr.clone();
// here we don't push a layer because we are clipping
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]