My professor wants someone in class to get the mechanical drawing specs of the
.His intention is to use those specs to create it in xcode using "C" or "Objective C". I am an artist and figured the best way was to use a program like illustrator but the program only translates points to XML. Is it possible to convert XML or reinterpret vector drawings to "C"?
The drawing should probably fit a screen of 320x460 px. Thanks!
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1_copy" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
y="0px" width="320px" height="460px" viewBox="0 0 320 460.2" enable-background="new 0 0 320 460.2" xml:space="preserve">
<path fill="#52247F" d="M169.499,32.423c4.682,10.712,23.001,56.277,19.797,64.768c0,0-32.796,29.509-45.215,52.789
c-17.081,37.47-0.245,67.213,3.911,73.322c0,0,7.008,10.147-9.288,2.201c-27.204-11.304-48.125-36.18-46.682-68.68
C94.75,117.7,158,61.45,165.262,32.258C166.75,25.95,168.928,31.118,169.499,32.423z"/>
<path fill="#52247F" d="M224.49,63.217c5.76,8.483,20.26,63.733,11.73,69.167C214,144.2,162.25,159.95,158.99,225.747
c-0.245,0.489-0.647,1.554-1.711,0.489C143,204.7,140.75,172.7,152.635,150.227c11.487-20.775,31.528-34.706,46.437-52.792
c8.799-10.999,22.437-26.938,23.464-34.461C223.438,60.325,224.49,63.217,224.49,63.217z"/>
<path fill="#52247F" d="M87.133,79.103c10.034,17.015,14.284,33.598,13.2,35.196c-9.75,18.735-19.065,37.883-13.932,62.08
C94,207.95,111.75,217.45,132.105,229.17c0.732,0.732-0.734,1.222-1.467,1.465c-26.389,4.315-55.236-12.952-65.745-24.439
C31.75,169.95,63.11,126.371,75.402,102.321c3.177-8.064,7.333-15.642,7.822-25.417C83.562,72.825,85.915,77.466,87.133,79.103z"/>
<path fill="#52247F" d="M255.286,184.688c-9.044,13.688-32.036,45.513-87.255,45.704c-0.976,0-2.198-0.732-2.198-1.955
C166,213.95,169,189.45,189.296,170.268C203,153.45,259,137.2,275.326,105.5c1.956-3.179,2.69-6.843,4.887-9.777
C280.213,95.723,287.5,133.7,255.286,184.688z"/>
<polygon fill="#52247F" points="193.45,239.004 193.394,263.601 112.043,263.631 111.877,239.113 "/>
<polygon fill="#52247F" points="173.213,271.069 156.702,424.938 147.071,425.045 132.378,270.991 "/>
</svg>