nano-svg: An SVG parser for icons
Parse static SVG icons and vector artwork for geometry renderers, rasterizers and UI toolkits.
Reads UTF-8 ByteString input using hexml for XML and flatparse
for attribute values. Returns a flat array of shapes in paint order,
each with absolute path segments, a transform and a resolved style.
Path, transform, color, length and coordinate-list parsers can also be used independently. Rendering and viewport mapping are left to the caller.
Gradients, patterns, text, masks, clipping paths, filters and CSS stylesheets are not supported. See Graphics.NanoSvg for supported features and limitations.
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- nano-svg-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.17 && <4.23), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.9), flatparse (>=0.5 && <0.6), hexml (>=0.3.5 && <0.4), primitive (>=0.9 && <0.10) [details] |
| Tested with | ghc ==9.14.1 |
| License | MIT |
| Author | goolord |
| Maintainer | zacharyachurchill@gmail.com |
| Uploaded | by goolord at 2026-09-20T16:19:29Z |
| Category | Graphics |
| Distributions | |
| Downloads | 3 total (3 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |