Skip to content

Commit 145e4ab

Browse files
committed
Version 0.11.0.
1 parent 879d72a commit 145e4ab

File tree

12 files changed

+80
-57
lines changed

12 files changed

+80
-57
lines changed

CHANGELOG.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,29 @@
11
## Change log
22

3+
### v0.11.0 (2018-07-05)
4+
- [tessellation] Move the VertexId representation from u16 to u32.
5+
- [tessellation] Fix a circle tessellation bug with large tolerance values.
6+
- [tessellation] Add a fast path for ellipses when the radii are equal.
7+
- [algorithms] Added the lyon_algorithms crate.
8+
- [algorithms] Implement a hatching pattern fill algorithm.
9+
- [algorithms] Implement a dotted pattern fill algorithm.
10+
- [algorithms] Implement path bounding rectangles.
11+
- [algorithms] Implement rectangle fitting transform computation.
12+
- [algorithms] Move path walking to the algorithms crate.
13+
- [geom] Implement callback based iteration over the monotonic parts of an arc.
14+
- [geom] Add LineSegment::set_length.
15+
- [geom] Fix an elliptic arc bug.
16+
- [geom] Implement precise elliptic arc bounding rectangle.
17+
- [cli] Add support for custom formatting in the tessellate command.
18+
- [cli] Allow changing the background in the show command.
19+
- [cli] Automatically position the view in the show command.
20+
- [examples] Add a simple SVG rendering example.
21+
- [misc] Update usvg and euclid dependencies.
22+
323
### v0.10.0 (2018-02-28)
424
- [geom] Fix several arc bugs.
525
- [geom] Implement a much better cubic to quadratic bézier approximation.
6-
- [geom] Implement iteating over the monotonic parts of a bézier curve.
26+
- [geom] Implement iterating over the monotonic parts of a bézier curve.
727
- [geom] A few API changes.
828
- [lyon] Make serde optional for all crates ("serialization" feature flags).
929
- [tessellation] Implement better error handling.

Cargo.lock

+33-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "lyon"
4-
version = "0.10.0"
4+
version = "0.11.0"
55
description = "2D Graphics rendering on the GPU using tessellation."
66
authors = [ "Nicolas Silva <[email protected]>" ]
77
repository = "https://github.com/nical/lyon"
@@ -34,11 +34,11 @@ libtess2 = ["lyon_tess2"]
3434

3535
[dependencies]
3636

37-
lyon_tessellation = { version = "0.10.0", path = "tessellation/" }
37+
lyon_tessellation = { version = "0.11.0", path = "tessellation/" }
3838
lyon_algorithms = { version = "0.11.0", path = "algorithms/" }
39-
lyon_extra = { version = "0.10.0", optional = true, path = "extra/" }
40-
lyon_svg = { version = "0.10.0", optional = true, path = "svg/" }
41-
lyon_tess2 = { version = "0.10.0", optional = true, path = "tess2/" }
39+
lyon_extra = { version = "0.11.0", optional = true, path = "extra/" }
40+
lyon_svg = { version = "0.11.0", optional = true, path = "svg/" }
41+
lyon_tess2 = { version = "0.11.0", optional = true, path = "tess2/" }
4242

4343
[workspace]
4444
members = [

algorithms/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ serialization = ["serde", "lyon_path/serialization"]
1919

2020
[dependencies]
2121

22-
lyon_path = { version = "0.10.0", path = "../path" }
22+
lyon_path = { version = "0.11.0", path = "../path" }
2323
serde = { version = "1.0", optional = true, features = ["serde_derive"] }

algorithms/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![doc(html_logo_url = "https://nical.github.io/lyon-doc/lyon-logo.svg")]
22

3-
//! 2D Path transformation and manipulation algorithms.
3+
//! 2d Path transformation and manipulation algorithms.
44
//!
55
66
// TODO doc!

extra/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "lyon_extra"
4-
version = "0.10.0"
4+
version = "0.11.0"
55
description = "Various optional utilities for the lyon crate."
66
authors = [ "Nicolas Silva <[email protected]>" ]
77
repository = "https://github.com/nical/lyon"
@@ -14,5 +14,5 @@ name = "lyon_extra"
1414

1515
[dependencies]
1616

17-
lyon_path = { version = "0.10.0", path = "../path" }
18-
lyon_svg = { version = "0.10.0", path = "../svg" }
17+
lyon_path = { version = "0.11.0", path = "../path" }
18+
lyon_svg = { version = "0.11.0", path = "../svg" }

geom/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "lyon_geom"
3-
version = "0.10.0"
4-
description = "2D quadratic and cubic bezier arcs and line segment math on top of euclid."
3+
version = "0.11.0"
4+
description = "2D quadratic and cubic bézier arcs and line segment math on top of euclid."
55
authors = ["Nicolas Silva <[email protected]>"]
66
repository = "https://github.com/nical/lyon"
77
documentation = "https://docs.rs/lyon_geom/"

path/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lyon_path"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
description = "Types and utilities to store, build and iterate over 2D paths."
55
authors = [ "Nicolas Silva <[email protected]>" ]
66
repository = "https://github.com/nical/lyon"
@@ -15,5 +15,5 @@ name = "lyon_path"
1515
serialization = ["serde", "lyon_geom/serialization"]
1616

1717
[dependencies]
18-
lyon_geom = { version = "0.10.0", path = "../geom" }
18+
lyon_geom = { version = "0.11.0", path = "../geom" }
1919
serde = { version = "1.0", optional = true, features = ["serde_derive"] }

src/lib.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717
//! * [![crate](http://meritbadge.herokuapp.com/lyon_path)](https://crates.io/crates/lyon_path)
1818
//! [![doc](https://docs.rs/lyon_path/badge.svg)](https://docs.rs/lyon_path) -
1919
//! **lyon_path** - Tools to build and iterate over paths.
20-
//! * [![crate](http://meritbadge.herokuapp.com/lyon_geom)](https://crates.io/crates/lyon_geom)
21-
//! [![doc](https://docs.rs/lyon_geom/badge.svg)](https://docs.rs/lyon_geom) -
20+
//! * [![crate](http://meritbadge.herokuapp.com/lyon_svg)](https://crates.io/crates/lyon_svg)
21+
//! [![doc](https://docs.rs/lyon_svg/badge.svg)](https://docs.rs/lyon_svg) -
22+
//! **lyon_algorithms** - Various 2d path related algorithms.
23+
//! * [![crate](http://meritbadge.herokuapp.com/lyon_algorithms)](https://crates.io/crates/lyon_algorithms)
24+
//! [![doc](https://docs.rs/lyon_algorithms/badge.svg)](https://docs.rs/lyon_algorithms) -
2225
//! **lyon_geom** - 2d utilities for cubic and quadratic bézier curves, arcs and more.
2326
//! * [![crate](http://meritbadge.herokuapp.com/lyon_svg)](https://crates.io/crates/lyon_svg)
2427
//! [![doc](https://docs.rs/lyon_svg/badge.svg)](https://docs.rs/lyon_svg) -

svg/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "lyon_svg"
4-
version = "0.10.0"
4+
version = "0.11.0"
55
description = "SVG helpers for the lyon crates."
66
authors = [ "Nicolas Silva <[email protected]>" ]
77
repository = "https://github.com/nical/lyon"
@@ -13,6 +13,6 @@ path = "src/lib.rs"
1313

1414
[dependencies]
1515

16-
lyon_path = { version = "0.10.0", path = "../path" }
16+
lyon_path = { version = "0.11.0", path = "../path" }
1717

1818
svgparser = "0.6"

tess2/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "lyon_tess2"
4-
version = "0.10.0"
4+
version = "0.11.0"
55
description = "An additional path tessellator for lyon using libtess2."
66
authors = [ "Nicolas Silva <[email protected]>" ]
77
repository = "https://github.com/nical/lyon"
@@ -19,6 +19,6 @@ serialization = ["serde", "lyon_tessellation/serialization"]
1919

2020
[dependencies]
2121

22-
lyon_tessellation = { version = "0.10.0", path = "../tessellation" }
22+
lyon_tessellation = { version = "0.11.0", path = "../tessellation" }
2323
serde = { version = "1.0", optional = true, features = ["serde_derive"] }
2424
tess2-sys = "0.0.1"

tessellation/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "lyon_tessellation"
4-
version = "0.10.0"
4+
version = "0.11.0"
55
description = "A low level path tessellation library."
66
authors = [ "Nicolas Silva <[email protected]>" ]
77
repository = "https://github.com/nical/lyon"
@@ -19,9 +19,9 @@ serialization = ["serde", "lyon_path/serialization"]
1919

2020
[dependencies]
2121

22-
lyon_path = { version = "0.10.0", path = "../path" }
22+
lyon_path = { version = "0.11.0", path = "../path" }
2323
sid = "0.5"
2424
serde = { version = "1.0", optional = true, features = ["serde_derive"] }
2525

2626
[dev-dependencies]
27-
lyon_extra = { version = "0.10.0", path = "../extra" }
27+
lyon_extra = { version = "0.11.0", path = "../extra" }

0 commit comments

Comments
 (0)