-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 0.3.0 ### Added - Added `vello_svg::Error`, which is returned by new functions that read text into a `usvg::Tree`. - Added `vello_svg::render`, which takes an svg string and renders to a new vello scene. - Added `vello_svg::append`, which takes an svg string and renders to a provided vello scene. - Added `vello_svg::append_with`, which takes an svg string and renders to a provided vello scene with and error handler. - Added `vello_svg::render_tree`, which takes a usvg::Tree and renders to a provided vello scene with and error handler. ### Changed - Updated to vello 0.2 - Renamed `render_tree` to `append_tree` - Renamed `render_tree_with` to `append_tree_with` and removed the `Result<(), E>` return type for the error handler.
- Loading branch information
Showing
14 changed files
with
284 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ repository.workspace = true | |
publish = false | ||
|
||
[dependencies] | ||
cargo-run-wasm = "0.3.2" | ||
cargo-run-wasm = "0.4.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.