[librsvg: 14/21] Debugging transform.rs
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 14/21] Debugging transform.rs
- Date: Tue, 31 Aug 2021 18:37:37 +0000 (UTC)
commit e8004442ff76b1dd52186239adbd76dbf6851792
Author: Madds H <madds hollandart io>
Date: Tue Aug 24 17:14:53 2021 -0500
Debugging transform.rs
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/576>
src/transform.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/transform.rs b/src/transform.rs
index cda25628..0872c057 100644
--- a/src/transform.rs
+++ b/src/transform.rs
@@ -66,7 +66,7 @@ impl TransformProperty {
TransformFunction::SkewX(ax) => Transform::new_skew(*ax, Angle::new(0.0)),
TransformFunction::SkewY(ay) => Transform::new_skew(Angle::new(0.0), *ay),
};
- final_transform = final_transform.post_transform(&t);
+ final_transform = dbg!(final_transform.post_transform(&t));
}
}
@@ -120,7 +120,7 @@ fn parse_transform_prop_function_command<'i>(
let loc = parser.current_source_location();
match parser.next()?.clone() {
- Token::Function(ref name) => parse_transform_prop_function_internal(name, parser),
+ Token::Function(ref name) => dbg!(parse_transform_prop_function_internal(name, parser)),
tok => Err(loc.new_unexpected_token_error(tok.clone())),
}
}
@@ -495,7 +495,7 @@ fn parse_transform_list<'i>(parser: &mut Parser<'i, '_>) -> Result<Transform, Pa
break;
}
- t = parse_transform_command(parser)?.post_transform(&t);
+ t = dbg!(parse_transform_command(parser)?.post_transform(&t));
optional_comma(parser);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]