raphael icon indicating copy to clipboard operation
raphael copied to clipboard

[BUG] pathToAbsolute and path2curve failure

Open thednp opened this issue 4 years ago • 1 comments

For some reason pathToAbsolute fails to process Bezier [C]urves and in consequence, the path2curve will also deliver wrong values.

Test site https://jsfiddle.net/yq42njsr/

Update: it turns out that the RegExp in Raphael.js cannot compute over-optimized arcTo path command coordinates, I opened an issue on Stackoverflow, trying to find a solution and hopefully resolve it here as well.

thednp avatar Aug 13 '20 11:08 thednp

I have a solution for those in need, right here

thednp avatar Aug 15 '20 17:08 thednp