74 Commits

Author SHA1 Message Date
Curtis Hard 4a5a466b5c Added support for Mask element 2015-05-19 18:11:28 +01:00
Curtis Hard a8a0446e87 Added display none support 2015-04-13 19:25:13 +01:00
Curtis Hard a1ed9f7654 Updated readme 2015-04-13 19:15:56 +01:00
Curtis Hard 4804fe4db3 Added elliptical arc command (finally)
Various other fixes and tweaks
2015-04-13 19:13:52 +01:00
Curtis Hard a2cd536676 Loads of fixes for rendering
Fixes for rendering and improves feature set for complicated SVG's
2015-04-11 13:38:21 +01:00
Curtis Hard 6be9936a1d Fixed various issues
Added line join style and fixed various rendering bugs
2015-04-10 21:57:45 +01:00
Curtis Hard 8b4ce4ef61 Parser fixes and style computation
FIxed various issues with parser not finding linked elements. Also added much better support for style attribute. Also added overal viewbox clipping and various other fixes.
2015-04-10 20:09:46 +01:00
Curtis Hard 2cc26e5dfb Now uses lstat to calcuate the cost of memory for the image cache 2015-02-02 21:01:33 +00:00
Curtis Hard 613bf38ba7 Fixed move command issue
Some SVG's use a relative move to command as the first command in the path, I dont know why, they should be absolute, so this is a work around for them as they will normally crash the bezier path
2014-10-26 12:57:27 +00:00
Curtis Hard c76a83c07d Fixed issue with no color being specified 2014-09-16 21:22:18 +01:00
Curtis Hard 1e5a6e5a91 Fixed compiler warnings 2014-09-12 23:19:41 +01:00
Curtis Hard 65da881aeb Stuff 2014-09-12 15:40:18 +01:00
Curtis Hard 33d627a3d0 Few things to do with "default" colours if not defined 2014-09-08 21:52:34 +01:00
Curtis Hard d656fb6d3f Fixed issue with winding rule 2014-09-08 13:40:58 +01:00
Curtis Hard 1563e2659c Moved into source 2014-09-05 18:02:36 +01:00
Curtis Hard 98c9d4f10b Fixes and features
Now supports dashed strokes and line cap modes for lines that dont have a closed path.

Fixed issue with predefined colors not being found.

Added more examples to the example
2014-09-05 17:50:16 +01:00
Curtis Hard a6384188d6 Better clipping drawing code 2014-09-05 11:38:24 +01:00
Curtis Hard d70f10b23d Added support for clipPaths 2014-09-04 22:19:57 +01:00
Curtis Hard 128e8a63b1 Various speed improvements and fixes
Example now shows all examples in one window
2014-09-04 14:24:08 +01:00
Curtis Hard 0388f332c1 More support
Added support for USE tag and better support for DEF, gradients and paths. Also added another test SVG from Sketch
2014-09-04 13:16:09 +01:00
Curtis Hard 67ae52c919 Not entirely sure... 2014-09-04 00:11:29 +01:00
Curtis Hard 87fc775920 Added more examples
Various fixes for viewport scaling and transform per groups.

Added few more example SVG's as examples ( also so I can fix things )
2014-09-04 00:11:11 +01:00
Curtis Hard 1a5b99be3f Added support for Def
Added support for the DEF elements.

Added support for linear gradients and very rudimentary support for radial gradients ( they dont really work )

Added style tag parsing in so the Def elements will work.
2014-09-03 16:51:39 +01:00
Curtis Hard e51fd9585e Added example application 2014-09-02 18:14:38 +01:00