This crate provides some helper data structures and functions for working with SVG files.
- Parsing and printing of path strings, optionally into/from geometric primitives.
- Parsing
<line>
,<rect>
(without rounded corners),<circle>
and<ellipse>
into geometric primitives.
The code is licensed under Creative Commons Zero v1.0 Universal, which essentially means that it's in public domain.
- Implement
FromStr
forPrimitive
. - Support to parse
<polygon>
s and<polyline>
s intoPrimitive
s. - Support to convert
<rect>
s with rounded corners intoPrimitive
s. - Support for parsing and applying
transform
s. - Extensive docmentation.
- Extensive testing (Maybe also using afl-rs).
- Use
[feature]
s to make compilation time and binary size better for users. Optimized output, precision could be made into features that can be turned off. - Benchmarking and optimisation.
- Maybe a C API.