Reputation: 73
I am trying to make a signature pad for android and the output should be svg. I am using this library now: https://github.com/gcacace/android-signaturepad Alternately, I can use canvas. But the major issue is converting it into svg. Is there any way to do that?
Upvotes: 2
Views: 884
Reputation: 83
You could change the implementation of SignaturePad
class, generating a SVG path from the mPoints
array and apply a Bezier transformation to the path itself: http://www.sitepoint.com/html5-svg-cubic-curves/.
Anyway, if you send me a pull request I'll be happy to include that new feature into the library.
Upvotes: 1