[librsvg] wip: marker.rs: make order consistent with viewport
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] wip: marker.rs: make order consistent with viewport
- Date: Thu, 28 Sep 2017 22:40:42 +0000 (UTC)
commit 1e5331ae39244472da178a91f78fa044b0359cd7
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Sep 28 09:27:07 2017 -0500
wip: marker.rs: make order consistent with viewport
rust/src/marker.rs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/rust/src/marker.rs b/rust/src/marker.rs
index 9b1b11f..3de8d5a 100644
--- a/rust/src/marker.rs
+++ b/rust/src/marker.rs
@@ -144,8 +144,10 @@ impl NodeMarker {
affine.scale (w / vbox.0.width, h / vbox.0.height);
drawing_ctx::push_view_box (draw_ctx, vbox.0.width, vbox.0.height);
+ drawing_ctx::push_discrete_layer (draw_ctx);
} else {
drawing_ctx::push_view_box (draw_ctx, marker_width, marker_height);
+ drawing_ctx::push_discrete_layer (draw_ctx);
}
affine.translate (-self.ref_x.get ().normalize (draw_ctx),
@@ -159,7 +161,6 @@ impl NodeMarker {
drawing_ctx::set_current_state_affine (draw_ctx, affine);
- drawing_ctx::push_discrete_layer (draw_ctx);
let state = drawing_ctx::get_current_state (draw_ctx);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]