Commit Graph

7 Commits

Author SHA1 Message Date
Ryan Mast
1859f6a5f5 Added missing 'S' in NanoSVG 2017-07-08 22:51:23 -07:00
Mikko Mononen
47864e21bc Added gradients
- renamed NSVGParser to NSVGparser
- first stab at parsing gradients
- first stab at rendering gradients
- fixed overflow in rasterizer
2014-01-30 23:33:41 +02:00
Mikko Mononen
135a658741 Added viewBox and unit coversion support
- added exact bounds calculation for bezier curves, paths, shapes
- added unit coversion for svg length values (use px internally)
- added viewBox and preserveAspectRatio handling
- removed some test SVGs
2014-01-29 19:50:41 +02:00
Mikko Mononen
b3f906a393 Updated documentation 2014-01-09 23:22:38 +02:00
Mikko Mononen
572bbb2d4d Changed the structure of returned SVG data to image, shapes and paths
- Needed support to SVG image size, hence added following:
- added NSVGImage, which holds image size and list of shapes
- added NSVGShape which holds color/store and list of paths
2013-10-08 23:48:46 +03:00
Mikko Mononen
4ba0c79055 Added more documentation, removed unused tol, added shapeId
- added more documentation to NSVGPath
- removed unused 'tol'
- added shapeId to paths, used to identify path belonging to same shape
- small text change to readme
2013-10-06 01:46:50 +03:00
Mikko Mononen
e4f10ab851 Initial commit. 2013-10-05 18:03:07 +03:00