[librsvg/rustification] marker.rs: ClosePath *does* need to generate a line at the end of a subpath
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/rustification] marker.rs: ClosePath *does* need to generate a line at the end of a subpath
- Date: Thu, 27 Oct 2016 02:10:28 +0000 (UTC)
commit 80fc5f5d21022cbdeb4e023cbd029d2e8241dec8
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Oct 26 19:18:54 2016 -0500
marker.rs: ClosePath *does* need to generate a line at the end of a subpath
rust/src/marker.rs | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/rust/src/marker.rs b/rust/src/marker.rs
index de4e3b3..c808854 100644
--- a/rust/src/marker.rs
+++ b/rust/src/marker.rs
@@ -165,8 +165,7 @@ pub fn path_to_segments (path: cairo::Path) -> Vec<Segment> {
},
SegmentState::End => {
- needs_new_segment = false;
- /* nothing; closepath after moveto (or a single lone closepath) does nothing */
+ needs_new_segment = true;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]