[librsvg: 70/90] Initialize the DrawingCtx's bbox with the initial affine, for good measure
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 70/90] Initialize the DrawingCtx's bbox with the initial affine, for good measure
- Date: Tue, 26 Mar 2019 19:17:57 +0000 (UTC)
commit be7a9ea0b0e36eec72e467b344ebacb86caa60f0
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Mar 21 17:56:26 2019 -0600
Initialize the DrawingCtx's bbox with the initial affine, for good measure
rsvg_internals/src/drawing_ctx.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index e59b9210..e5a99cc2 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -172,7 +172,7 @@ impl DrawingCtx {
cr_stack: Vec::new(),
cr: cr.clone(),
view_box_stack: Rc::new(RefCell::new(view_box_stack)),
- bbox: BoundingBox::new(&cairo::Matrix::identity()),
+ bbox: BoundingBox::new(&initial_affine),
drawsub_stack: Vec::new(),
acquired_nodes: Rc::new(RefCell::new(Vec::new())),
measuring,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]