| Crates.io | skia-rs-svg |
| lib.rs | skia-rs-svg |
| version | 0.2.0 |
| created_at | 2026-01-02 20:51:02.333009+00 |
| updated_at | 2026-01-03 18:47:12.509513+00 |
| description | SVG parsing and rendering for skia-rs |
| homepage | https://github.com/pegasusheavy/skia-rs |
| repository | https://github.com/pegasusheavy/skia-rs |
| max_upload_size | |
| id | 2019177 |
| size | 115,973 |
SVG parsing and rendering for skia-rs, a pure Rust implementation of the Skia 2D graphics library.
use skia_rs_svg::SvgDom;
// Parse an SVG file
let svg = SvgDom::from_file("icon.svg")?;
// Get the size
let (width, height) = svg.size();
// Render to canvas
svg.render(canvas);
MIT OR Apache-2.0
See the main repository for more information.