Age | Commit message (Collapse) | Author |
|
|
|
- prevent infinite loop when gradient ID is left to empty string
- prevent infinite loop when gradient references to self
- lookup up to 32 references back
|
|
- fixed zero check in form inverse (was producing NaNs
- improved coordinate parsing
- handle gradient percentage coords properly
|
|
-possible loss of data while conversions
-potentially uninitialized local variables
-declaration hides previous local declaration
|
|
- added parser for fill rule
- added even-odd fill rule support for rasteriser
|
|
|
|
- better handling if stroke miter joins (inner bevel)
- correct default miter 4
|
|
- added tessellation and rendering of lines
- added parsing for line joins and caps
|
|
- typedef’d structs
- added named parameters
|
|
- fixed compiler warnings
- supper single and double quotes
|
|
- 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
|
|
|
|
guessing of image size
- added pool alloc for active edges
- improved tesselation algo
- better guessing of image size
- reverted tiger to default state
|
|
- 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
|
|
- added missing break after 'm'/'M' path command
- path command 'm'/'M' is converted to 'l'/'L' so that multiple
coordinate pairs behave correctly
- fixed rendering of first point on path
|
|
- 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
|
|
|