Commit Graph

9 Commits

Author SHA1 Message Date
Mikko Mononen
7efce85328 Better support for coordinates, fixes local space percentage gradients
- fixed zero check in form inverse (was producing NaNs
- improved coordinate parsing
- handle gradient percentage coords properly
2015-11-07 20:00:05 +02:00
jry2
b3dc3e6543 Fixed VC2015 RC warnings.
-possible loss of data while conversions
-potentially uninitialized local variables
-declaration hides previous local declaration
2015-06-12 21:19:26 +02:00
Mikko Mononen
5966d6e77a Handle fill rule properly
- added parser for fill rule
- added even-odd fill rule support for rasteriser
2015-06-12 07:45:34 +03:00
Mikko Mononen
c4f15e8f2f Restore example filename 2014-11-05 18:57:34 +02:00
Mikko Mononen
205d5197d2 Issue #20: better handling of miter joins
- better handling if stroke miter joins (inner bevel)
- correct default miter 4
2014-11-05 10:47:35 +02:00
Mikko Mononen
c53c48759d Added typedefs to structs
- typedef’d structs
- added named parameters
2014-06-12 20:53:00 +03: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
8e47686015 Added pool alloc for active edges, improved tesselation algo, better guessing of image size
- added pool alloc for active edges
- improved tesselation algo
- better guessing of image size
- reverted tiger to default state
2014-01-09 23:05:52 +02:00
Mikko Mononen
ad2841fccb Changed struct names, fixed color parser bug and added rasterizer
- changed struct names from NSVGShape to NSVGshape
- fixed silly bug in color parser (plus reversed the r/b)
- changed the shape order so that they are in order they are parsed
- added super simple svg rasterizer based on stb_truetype rasterizer
- added example for the rasterizer
2014-01-09 22:15:26 +02:00