Qt Reference Documentation

submarine.svg Example File

demos/sub-attaq/pics/scalable/submarine.svg
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 <svg
    xmlns:svg="http://www.w3.org/2000/svg"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    version="1.0"
    width="744.09448"
    height="1052.3622"
    id="svg2594">
   <defs
      id="defs2596">
     <linearGradient
        id="linearGradient3345">
       <stop
          id="stop3348"
          style="stop-color:#898989;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3350"
          style="stop-color:#9ea1a2;stop-opacity:1"
          offset="0.44021741" />
       <stop
          id="stop3352"
          style="stop-color:#bbbdbf;stop-opacity:1"
          offset="0.56799388" />
       <stop
          id="stop3354"
          style="stop-color:#f0f1f2;stop-opacity:1"
          offset="1" />
     </linearGradient>
     <linearGradient
        x1="510.99884"
        y1="161.99408"
        x2="396.48914"
        y2="161.99408"
        id="linearGradient3311"
        xlink:href="#linearGradient3345"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(0.466978,0,0,0.4500435,231.58508,159.95135)" />
     <linearGradient
        id="linearGradient3532">
       <stop
          id="stop3534"
          style="stop-color:#545454;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3536"
          style="stop-color:#848788;stop-opacity:1"
          offset="0.44021741" />
       <stop
          id="stop3538"
          style="stop-color:#9ca0a2;stop-opacity:1"
          offset="0.56799388" />
       <stop
          id="stop3540"
          style="stop-color:#565d60;stop-opacity:1"
          offset="1" />
     </linearGradient>
     <linearGradient
        x1="525"
        y1="371.09448"
        x2="525"
        y2="395.09448"
        id="linearGradient3520"
        xlink:href="#linearGradient3532"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(0.5865192,0,0,0.2518015,219.30885,192.6957)" />
     <linearGradient
        id="linearGradient3227">
       <stop
          id="stop3229"
          style="stop-color:#444444;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3232"
          style="stop-color:#b0b0b0;stop-opacity:1"
          offset="1" />
     </linearGradient>
     <linearGradient
        x1="543.5"
        y1="205.19257"
        x2="587.52002"
        y2="205.19257"
        id="linearGradient3812"
        xlink:href="#linearGradient3227"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(1.1223608,0,0,0.3849769,-137.93938,185.11074)" />
     <linearGradient
        id="linearGradient3167">
       <stop
          id="stop3169"
          style="stop-color:#464646;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3345"
          style="stop-color:#848788;stop-opacity:1"
          offset="0.44021741" />
       <stop
          id="stop3347"
          style="stop-color:#9ca0a2;stop-opacity:1"
          offset="0.56799388" />
       <stop
          id="stop3171"
          style="stop-color:#b5babd;stop-opacity:1"
          offset="1" />
     </linearGradient>
     <linearGradient
        x1="443.95602"
        y1="315.31854"
        x2="443.95602"
        y2="247.85609"
        id="linearGradient3175"
        xlink:href="#linearGradient3167"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(0.4908502,0,0,0.4579593,230.56224,161.8228)" />
     <linearGradient
        id="linearGradient3421">
       <stop
          id="stop3423"
          style="stop-color:#444444;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3425"
          style="stop-color:#444444;stop-opacity:0"
          offset="1" />
     </linearGradient>
     <radialGradient
        cx="432.33429"
        cy="233.80295"
        r="59.056835"
        fx="432.33429"
        fy="233.80295"
        id="radialGradient3339"
        xlink:href="#linearGradient3421"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(0.4181493,0,0,0.1282619,265.67128,239.85868)" />
     <linearGradient
        id="linearGradient3435">
       <stop
          id="stop3437"
          style="stop-color:#ffffff;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3439"
          style="stop-color:#c0c0c0;stop-opacity:0"
          offset="1" />
     </linearGradient>
     <radialGradient
        cx="290.5"
        cy="244.34448"
        r="37.5"
        fx="290.5"
        fy="244.34448"
        id="radialGradient3441"
        xlink:href="#linearGradient3435"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(0.8202102,0.8202102,-0.7960458,0.7960458,246.73838,-189.686)" />
   </defs>
   <g
      id="submarine">
     <rect
        width="10.557344"
        height="6.0432386"
        x="521.95276"
        y="286.13785"
        id="rect3512"
        style="opacity:1;fill:url(#linearGradient3520);fill-opacity:1;fill-rule:nonzero;stroke:#1b1e1f;stroke-width:0.56879884;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <path
        d="M 472.62489,271.38195 C 472.62489,271.38195 533.23236,235.19412 518.64167,256.75283 C 504.05098,278.31152 504.05098,278.31152 504.05098,278.31152 L 472.62489,271.38195 z"
        id="path2455"
        style="fill:url(#linearGradient3812);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.77744257;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <path
        d="M 364.84606,263.41905 C 322.73174,271.36528 338.10857,300.23647 381.79153,305.97905 C 431.25896,312.48206 448.02709,310.71241 484.92494,305.97905 C 537.1851,299.27497 537.2581,271.48536 484.92494,262.95644 C 433.55798,254.58499 395.6858,257.60014 364.84606,263.41905 z"
        id="path2385"
        style="fill:url(#linearGradient3175);fill-opacity:1;fill-rule:evenodd;stroke:#393939;stroke-width:1.90693891;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <path
        d="M 421.75698,267.81211 C 428.13994,285.12832 488.00064,276.42836 466.51218,262.27195 C 466.51218,262.27195 422.9096,268.31187 421.75698,267.81211 z"
        id="path3403"
        style="fill:url(#radialGradient3339);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
     <path
        d="M 416.97069,261.60997 C 416.97069,276.46141 463.19914,276.0068 463.19914,261.15536 L 463.19914,255.76162 C 463.19914,240.91094 416.97069,233.57552 416.97069,248.4262 L 416.97069,261.60997 z"
        id="path3291"
        style="fill:url(#linearGradient3311);fill-opacity:1;fill-rule:evenodd;stroke:#2d2d2d;stroke-width:2.07042313;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <path
        d="M 341,263.09448 A 37.5,40 0 1 1 266,263.09448 A 37.5,40 0 1 1 341,263.09448 z"
        transform="matrix(0.692163,0,1.4106583e-2,0.289185,154.89061,202.07342)"
        id="path3433"
        style="opacity:1;fill:url(#radialGradient3441);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.227;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <path
        d="M 397,316.09448 A 27.5,7 0 1 1 342,316.09448 A 27.5,7 0 1 1 397,316.09448 z"
        transform="matrix(0.5642633,0,0,0.5642633,227.60762,70.172035)"
        id="path3458"
        style="opacity:1;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.06500006;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <path
        d="M 397,316.09448 A 27.5,7 0 1 1 342,316.09448 A 27.5,7 0 1 1 397,316.09448 z"
        transform="matrix(0,0.30778,-0.5642633,0,708.24166,183.29531)"
        id="path3510"
        style="opacity:1;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:#1b1e1f;stroke-width:4.23126984;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <use
        transform="translate(0.5000044,-17.235115)"
        id="use3544"
        x="0"
        y="0"
        width="1052.3622"
        height="744.09448"
        xlink:href="#path3510" />
     <path
        d="M 246,366.09448 A 8.5,8 0 1 1 229,366.09448 A 8.5,8 0 1 1 246,366.09448 z"
        transform="matrix(1.7798114,-4.2997512e-2,1.3318941e-2,0.5513151,76.233334,95.845205)"
        id="path3584"
        style="opacity:1;fill:#787878;fill-opacity:1;fill-rule:nonzero;stroke:#1b1e1f;stroke-width:2.38492584;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
   </g>
 </svg>