I’ve been looking into making some software with my daughter. She wants to make a game with some characters she has drawn, so I need a nice way to render them. I want to make them using vector graphics, but iOS doesn’t really have a nice way of doing that. What I am in the process of doing is making a little command line tool that converts SVG files into CoreGraphics calls.1 comment
The code can be found here on github
This is a sample of the output of the tool. I have seen several other tools that convert the SVG paths to CoreGraphics calls, but nothing that will actually render the whole file including colours and fills. It is still very rough and doesn’t handle things like gradient fills, but for a quick hack it is working pretty well.