Qt Reference Documentation

head.svg Example File

demos/declarative/snake/qml/snake/content/pics/head.svg
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 <svg
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://creativecommons.org/ns#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:svg="http://www.w3.org/2000/svg"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    id="svg2"
    sodipodi:version="0.32"
    inkscape:version="0.46"
    width="40"
    height="40"
    version="1.0"
    sodipodi:docname="head.svg"
    inkscape:output_extension="org.inkscape.output.svg.inkscape"
    inkscape:export-filename="/home/ettrich/dev/research/qml-validate/snake/pics/head.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90">
   <metadata
      id="metadata7">
     <rdf:RDF>
       <cc:Work
          rdf:about="">
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
       </cc:Work>
     </rdf:RDF>
   </metadata>
   <defs
      id="defs5">
     <inkscape:perspective
        sodipodi:type="inkscape:persp3d"
        inkscape:vp_x="0 : 526.18109 : 1"
        inkscape:vp_y="0 : 1000 : 0"
        inkscape:vp_z="744.09448 : 526.18109 : 1"
        inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
        id="perspective9" />
     <inkscape:perspective
        id="perspective2444"
        inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
        inkscape:vp_z="744.09448 : 526.18109 : 1"
        inkscape:vp_y="0 : 1000 : 0"
        inkscape:vp_x="0 : 526.18109 : 1"
        sodipodi:type="inkscape:persp3d" />
   </defs>
   <sodipodi:namedview
      inkscape:window-height="838"
      inkscape:window-width="907"
      inkscape:pageshadow="2"
      inkscape:pageopacity="0.0"
      guidetolerance="10.0"
      gridtolerance="10.0"
      objecttolerance="10.0"
      borderopacity="1.0"
      bordercolor="#666666"
      pagecolor="#ffffff"
      id="base"
      showgrid="false"
      inkscape:zoom="12.35"
      inkscape:cx="20"
      inkscape:cy="20"
      inkscape:window-x="117"
      inkscape:window-y="45"
      inkscape:current-layer="svg2" />
   <image
      y="0.21862352"
      x="-0.048582077"
      id="image2446"
      height="40"
      width="40"
      sodipodi:absref="/home/ettrich/dev/research/qml-validate/snake/pics/redStone.png"
      xlink:href="redStone.png" />
   <path
      sodipodi:type="arc"
      style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
      id="path2384"
      sodipodi:cx="18.056681"
      sodipodi:cy="9.5141697"
      sodipodi:rx="7.1255059"
      sodipodi:ry="11.295547"
      d="M 25.182187,9.5141697 A 7.1255059,11.295547 0 1 1 10.931175,9.5141697 A 7.1255059,11.295547 0 1 1 25.182187,9.5141697 z"
      transform="matrix(1.0089865,0,0,0.5462656,-4.9233835,3.3301401)" />
   <path
      sodipodi:type="arc"
      style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
      id="path3158"
      sodipodi:cx="18.056681"
      sodipodi:cy="9.5141697"
      sodipodi:rx="7.1255059"
      sodipodi:ry="11.295547"
      d="M 25.182187,9.5141697 A 7.1255059,11.295547 0 1 1 10.931175,9.5141697 A 7.1255059,11.295547 0 1 1 25.182187,9.5141697 z"
      transform="matrix(1.0089865,0,0,0.5462656,9.6190931,3.3522563)" />
   <path
      sodipodi:type="arc"
      style="fill:#000000;fill-opacity:1"
      id="path3182"
      sodipodi:cx="16.275303"
      sodipodi:cy="12.307693"
      sodipodi:rx="2.2672064"
      sodipodi:ry="3.4008098"
      d="M 18.542509,12.307693 A 2.2672064,3.4008098 0 0 1 14.008446,12.367372"
      sodipodi:start="0"
      sodipodi:end="3.1240432"
      transform="translate(11.65992,-9.740891)"
      sodipodi:open="true" />
   <rect
      style="fill:#000000;fill-opacity:0"
      id="rect2382"
      width="40"
      height="40"
      x="0"
      y="-7.1054274e-15"
      inkscape:export-filename="/home/ettrich/dev/research/qml-validate/snake/pics/eyes.png"
      inkscape:export-xdpi="90"
      inkscape:export-ydpi="90" />
   <path
      sodipodi:type="arc"
      style="fill:#000000;fill-opacity:1"
      id="path2383"
      sodipodi:cx="16.275303"
      sodipodi:cy="12.307693"
      sodipodi:rx="2.2672064"
      sodipodi:ry="3.4008098"
      d="M 18.542509,12.307693 A 2.2672064,3.4008098 0 0 1 14.008446,12.367372"
      sodipodi:start="0"
      sodipodi:end="3.1240432"
      transform="translate(-3.3200119,-9.821862)"
      sodipodi:open="true" />
 </svg>