... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result. |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
SVG
An application that renders the Ghostscript Tiger by leveraging the Svg widget.
The main file contains all the code of the example.
You can run it with cargo run:
cargo run --package svg