- almost whole NanoVG API - basic shapes, composite shapes, fonts, pictures, ... (functions for transformations based on float matrices, nvgTextGlyphPositions and nvgTextBreakLines are excluded due to relatively complicated processing of outputs)
- NanoSVG functions for importing SVG files
- my own simple renderer of SVG to NanoSVG primitives; the current version does not support gradients; advanced SVG (clipping, masking, effects, filters) will probably never support
The API is relatively simple and the results are quite nice. For details about API see NanoVG header file. One big advantage is the possibility to read resources (pictures and SVG data) from files in runtime. Alternatively, you can embed them in File components and read the content from memory. Just see my interactive demo:
To play with it just move mouse and click around - you can even sink the steam boat.
The demo project file with DLL can be downloaded from here. Please use it with latest ZGE beta.
As next, I plan to add gradients in rendering SVG, add compiling to 64bit + Android, and publish ZgeNano on GitHub. Later, I'll maybe add some NanoVG-based GUI components.
Any comments are welcome.