Skip to content

Commit

Permalink
build(deps): update usvg requirement from 0.35.0 to 0.36.0
Browse files Browse the repository at this point in the history
Updates the requirements on [usvg](https://github.com/RazrFalcon/resvg) to permit the latest version.
- [Release notes](https://github.com/RazrFalcon/resvg/releases)
- [Changelog](https://github.com/RazrFalcon/resvg/blob/master/CHANGELOG.md)
- [Commits](linebender/resvg@v0.35.0...v0.35.0)

---
updated-dependencies:
- dependency-name: usvg
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and wjian23 committed Oct 18, 2023
1 parent 983ea1d commit dbb865f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ tiny-skia-path = {version = "0.11.0"}
unicode-bidi = "0.3.7"
unicode-script = "0.5.4"
unicode-segmentation = "1.9.0"
usvg = { version= "0.35.0", default-features = false }
usvg = { version= "0.36.0", default-features = false }
webbrowser = "0.8.8"
wgpu = {version = "0.16.0"}
winit = {version = "0.28.5", default-features = false, features = ["x11", "wayland", "wayland-dlopen"]}
Expand Down
2 changes: 2 additions & 0 deletions painter/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ pub enum LineJoin {
/// Extends to miter limit.
#[default]
Miter,
/// Extends to miter limit, then clips the corner.
MiterClip,
/// Adds circle.
Round,
/// Connects outside edges.
Expand Down
1 change: 1 addition & 0 deletions painter/src/path_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ impl From<StrokeOptions> for tiny_skia_path::Stroke {
LineJoin::Miter => tiny_skia_path::LineJoin::Miter,
LineJoin::Round => tiny_skia_path::LineJoin::Round,
LineJoin::Bevel => tiny_skia_path::LineJoin::Bevel,
LineJoin::MiterClip => tiny_skia_path::LineJoin::MiterClip,

Check warning on line 256 in painter/src/path_builder.rs

View check run for this annotation

Codecov / codecov/patch

painter/src/path_builder.rs#L256

Added line #L256 was not covered by tests
},
dash: None,
}
Expand Down
1 change: 1 addition & 0 deletions painter/src/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ impl Svg {
usvg::LineJoin::Miter => LineJoin::Miter,
usvg::LineJoin::Bevel => LineJoin::Bevel,
usvg::LineJoin::Round => LineJoin::Round,
usvg::LineJoin::MiterClip => LineJoin::MiterClip,

Check warning on line 73 in painter/src/svg.rs

View check run for this annotation

Codecov / codecov/patch

painter/src/svg.rs#L73

Added line #L73 was not covered by tests
};
let options = StrokeOptions {
width: stroke.width.get(),
Expand Down

0 comments on commit dbb865f

Please sign in to comment.