quad-svg

Crates.ioquad-svg
lib.rsquad-svg
version0.1.2
sourcesrc
created_at2022-12-07 20:36:29.480776
updated_at2022-12-08 17:05:01.208505
descriptionrender svg to macroquad::texture::Texture2D using resvg
homepage
repositoryhttps://github.com/macnelly/quad-svg/
max_upload_size
id732127
size47,145
rmac (macnelly)

documentation

README

quad-svg

render svg to macroquad::texture::Texture2D using resvg

examples

display 50 svg drawn ferris moving from left to right

cargo run --example="ferris"

display 100 svg drawn stars with text "Text" that are moving from top to bottom

cargo run --example="star"

TODO

I want to include the font in the binary to not rely on system font. The font example is currently only working if you have font-family "Caladea" installed. Otherwise the star is empty.

Commit count: 9

cargo fmt