Example of generating SVG in a cocoa app