Convert SVG path from inkscape to Raphaëljs

In inkscape, the coordinate system has a lower / upper corner (value, 0.0 is the lower left corner). This is the same case with Adobe Illustrator. But, when I try to use this path line in raphael, use the top / bottom approach (value, 0,0 is the top / left corner). How to convert this path string according to browser coordinates or raphael coordinates?

+3
source share
2 answers

I had this problem before, and the easiest way I found for this is to flip the image before getting the path string.

+1
source

, , Inkscape. !

svg Ready Set Raphael, .

0

Source: https://habr.com/ru/post/1752478/


All Articles