diff options
author | Jovansonlee Cesar <ivanceras@gmail.com> | 2018-07-31 03:47:44 +0800 |
---|---|---|
committer | Jovansonlee Cesar <ivanceras@gmail.com> | 2018-07-31 03:47:44 +0800 |
commit | 15d8b663748123c9aec518b7dbc276d11bf60f3d (patch) | |
tree | 76b66c93bd0479c49397fcf9ec09942bf0ab1183 | |
parent | 63f902c70e4b82fee1aeb2e7bc73c56ae5aeab24 (diff) |
using , as slanting dashed line
-rw-r--r-- | svgbob/src/enhance.rs | 10 | ||||
-rw-r--r-- | svgbob/src/properties.rs | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svgbob/src/enhance.rs b/svgbob/src/enhance.rs index 710afbc..396de00 100644 --- a/svgbob/src/enhance.rs +++ b/svgbob/src/enhance.rs @@ -82,27 +82,27 @@ impl<'g> Enhance for FocusChar<'g> { consumed.push(top_right()); } } - // For diamon rectanle + // For diamond rectangle // . // ' if self.top_right().any(".,") { - elm.push(line(c, &top_right().m())); + elm.push(dashed_line(c, &top_right().m())); consumed.push(top_right()); } // . // ' if self.top_left().any(".,") { - elm.push(line(c, &top_left().m())); + elm.push(dashed_line(c, &top_left().m())); consumed.push(top_left()); } // .' if self.left().any(".,") { - elm.push(line(c, &left().m())); + elm.push(dashed_line(c, &left().m())); consumed.push(left()); } // '. if self.right().any(".,") { - elm.push(line(c, &right().m())); + elm.push(dashed_line(c, &right().m())); consumed.push(right()); } } else if self.any(".,") { diff --git a/svgbob/src/properties.rs b/svgbob/src/properties.rs index 6c1b3f2..2d977b5 100644 --- a/svgbob/src/properties.rs +++ b/svgbob/src/properties.rs @@ -645,7 +645,7 @@ impl Properties for char { } /////////////////////////// // - // ., dot and comma + // ., dot or period and comma // /////////////////////////// else if self.any(".,") { |