Skip to content

Version 0.3#18

Merged
nuzzles merged 13 commits intomainfrom
0.3
Jul 3, 2024
Merged

Version 0.3#18
nuzzles merged 13 commits intomainfrom
0.3

Conversation

@nuzzles
Copy link
Member

@nuzzles nuzzles commented Jul 2, 2024

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.

@nuzzles nuzzles added the release label Jul 2, 2024
@nuzzles
Copy link
Member Author

nuzzles commented Jul 2, 2024

Additionally, @xStrom mentioned in #5, I updated the lib documentation to state,

We re-export [`vello`] and [`usvg`] for your convenience,
so you can easily use the specific versions that are compatible with Vello SVG.

@nuzzles nuzzles mentioned this pull request Jul 2, 2024
Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following optimistic approval policy for Vello SVG

@nuzzles nuzzles enabled auto-merge July 3, 2024 19:35
@nuzzles nuzzles added this pull request to the merge queue Jul 3, 2024
Merged via the queue into main with commit b84f1e6 Jul 3, 2024
@nuzzles nuzzles deleted the 0.3 branch July 3, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants