Closed tiagodolphine closed 6 years ago
I’ll work on getting the project cleaned up and push back a commit, I’m changing the copyright dates and running it through code quality analytics
oh @SprocketNYC !!! glad to hear from you again!! Hope you're doing better....
We'll provide another PR soon in order to merge other stuff we had been adding on our fork, o will keep you updated!
Thanks and take care!
This is a refactor necessary to use canvas2svg library, where basically we extracted the
NativeContex2d
that allow us to inject a custom context to build the SVG, based on the same calls as for the native canvas context. There was need to split thecontext.save/restore
tosaveContainer/restoreContainer
because there was needed to distinct the calld when using the SVG library to create the SVG groups. The original behavior is the same because the saveContainer/restoreContainer is simply calling the save and restore methods. @romartin @mdproctor