NanoSVG is a simple SVG parser. The output of the parser is a list of cubic bezier shapes.
The shapes in the SVG images are transformed by the viewBox and converted to specified units. That is, you should get the same looking data as your designed in your favorite app.
NanoSVG can return the paths in few different units. For example if you want to render an image, you may choose to get the paths in pixels, or if you are feeding the data into a CNC-cutter, you may want to use millimeters.
The units passed to NanoSVG should be one of: 'px', 'pt', 'pc' 'mm', 'cm', or 'in'. DPI (dots-per-inch) controls how the unit conversion is done.
Note that this package builds shared libraries libnanosvg and libnanosvgrast from the source code in the .h header files.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
2022.12.22-bp156.1.5 info | GA Release | 2024-03-19 | 15 SP6 |
|
|