开发者

Converting SVG Path from inkscape to Raphaëljs

In inkscape the coordinate system is bottom/top corner (meaning, 0,0 is left bottom corner).开发者_StackOverflow中文版 This is the same case with Adobe Illustrator. But, when I try to use this path string in raphael it use top/bottom (meaning, 0,0 is top/left corner) approach. How to convert this path string according to browser's coordinates or raphael's coordinates?


I had this problem before and the easiest way that I found to solve it is to flip the image before getting the path string.


I have been experiencing a similar issue trying to make a map I created in Inkscape. All of my countries were off the charts, literally!

I just copied my svg file into Ready Set Raphael and it worked like a charm.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜