Better SVG support (#2614)
...
* Better SVG support
* Images are loaded using canvas which enables pre-scaled textures
* Scaling is done by providing an extra parameter `sourceScale` to the `fromImage` method
* Size of the original SVG source is checked with an extra XHR (necessary step for the canvas API to work)
* Supports data URI based SVG
* Fixed brace-style.
* Added util tests.
* Rebased to latest dev. Added 'px' support.
Juha Rantanen
authored
on 25 Sep 2016
Chad Engler
committed
on 25 Sep 2016