Commit Graph
26 Commits
Author SHA1 Message Date
Curtis Hard cdcd1bc2ee Various fixes 2015-12-09 13:01:40 +00:00
Curtis Hard 2a2acb9d76 Fixes a big bug that stopped the last character of a command being parsed 2015-10-02 17:43:01 +01:00
Curtis Hard da1e71f799 Fixes crashes when an error occurs 2015-09-30 17:38:08 +01:00
Curtis Hard 8a314dad8c Fixes crash when unable to parse XML 2015-09-28 16:54:48 +01:00
Curtis Hard 6686e20b6e Performance increase... read the notes..
Improvements to the parser, benchmarked this is now 19.4x faster then the previous version at reading and parsing SVG files, took the average down from 380ms for about 300 fairly complex files down to 24ms... :-)
2015-09-21 22:58:41 +01:00
Curtis Hard cbd0d5192d Fairly big update, read description...
This change includes various error handling methods on all relevant object initializers - also rewrote how we parse floats from strings, this seems to be about 2x quicker at parsing SVG's then it was previously :-)
2015-09-17 22:37:36 +01:00
Curtis Hard 14b18554fb Fixes for clip paths not being transformed correctly. 2015-08-10 18:41:41 +01:00
Curtis Hard a6395fcd04 Fixes memory leak 2015-05-23 15:14:29 +01:00
Curtis Hard a86e347b4c Added support for converting fonts to SVG's
Also added support for reading glyphs from icon fonts
2015-05-23 15:13:24 +01:00
Curtis Hard a2584a7611 Fixes issues related to quadratic relative commands 2015-05-19 21:47:41 +01:00
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 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 c11e8ad026 Fixed compiler issues when using the 10.10 SDK 2014-12-29 20:34:53 +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 891af1f566 Fixed memory leak with caching 2014-09-12 15:36:49 +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 fab275561e Now implements pasteboard protocol and supports PDF generation 2014-09-06 13:40:10 +01:00
Curtis Hard 689c21dc83 Moved into source 2014-09-05 18:02:27 +01:00