[librsvg: 45/90] Rename variable
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 45/90] Rename variable
- Date: Tue, 26 Mar 2019 19:15:50 +0000 (UTC)
commit 14b8d034b411678b90a1f47d254a612cfdfa63f6
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Mar 14 19:16:32 2019 -0600
Rename variable
rsvg_internals/src/clip_path.rs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/rsvg_internals/src/clip_path.rs b/rsvg_internals/src/clip_path.rs
index a2698563..78d1ed44 100644
--- a/rsvg_internals/src/clip_path.rs
+++ b/rsvg_internals/src/clip_path.rs
@@ -48,15 +48,15 @@ impl NodeClipPath {
let cr = dc.get_cairo_context();
if clip_units == ClipPathUnits(CoordUnits::ObjectBoundingBox) {
- let rect = bbox.rect.as_ref().unwrap();
+ let bbox_rect = bbox.rect.as_ref().unwrap();
cr.transform(cairo::Matrix::new(
- rect.width,
+ bbox_rect.width,
0.0,
0.0,
- rect.height,
- rect.x,
- rect.y,
+ bbox_rect.height,
+ bbox_rect.x,
+ bbox_rect.y,
))
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]