Problem is, I don't want to rewrite the code to parse the SVG line. First, I'm duplicating work that's been done already, and second, I could introduce bugs. So what do I do? I think including librsvg is good, but librsvg is... well, it depends on so many other libraries it's not even funny. The program that I'm working on has enough dependencies to begin with, AND it's a Visual Studio 2003 Project, so I'm not even sure about how to include those libraries(see my other thread on the issue, I gave up because I was toying with the idea of creating an intermediate fileformat). Is there like a librsvg lite? I just need it to parse a line like
- Code: Select all
d="M -5.7142857,-4.7806745 200,152.36218 c 0,0 260,-237.142855 191.42857,102.85715"