Convert SVG Path Data to IOS graphics

The goal of this page is to be able to use a standard SVG document for generating native source code for various platforms. As a test this page simply converts the SVG Path Data element to Object-C code that can be run on an IOS device.

SVG Path data

Example Input: M 181.25,298.8657 C 221.24865,267.60655 144.01236,253.95394 167.75,301.8657 C 172.932,312.32499 223.25,338.3804 223.25,261.8657 C 223.25,204.3657 188.25,131.3657 188.25,102.3657 C 188.25,73.3657 211.25,57.8657 211.25,96.3657 C 211.25,134.8657 154.75,167.8657 154.75,207.8657 C 154.75,273.90014 245.25,274.89932 245.25,225.8657 C 245.25,180.36295 202.92331,178.96216 189.25,190.3657 C 169.73581,206.64053 176.80703,238.26589 199.75,240.3657 C 166.09356,197.25935 231.44526,185.95387 235.75,222.3657 C 240.48256,262.39621 166.25,263.53037 166.25,214.8657 C 166.25,176.3657 227.52186,137.26447 224.75,99.3657 C 220.75,44.675 184.88913,27.76714 180.75,94.3657 C 177.84025,140.68365 215.58053,199.38507 217.25,264.8657 C 218.31602,306.67739 186.93198,317.71925 181.25,298.8657 z
Path Data:

Example usage of output

TrebleClefSymbol.h
TrebleClefSymbol.m