Qt Reference Documentation

background.svg Example File

demos/sub-attaq/pics/scalable/background.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"
    version="1.0"
    width="744.09448"
    height="1052.3622"
    id="svg2588"
    sodipodi:version="0.32"
    inkscape:version="0.46"
    sodipodi:docname="background.svg"
    inkscape:output_extension="org.inkscape.output.svg.inkscape">
   <metadata
      id="metadata28">
     <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>
   <sodipodi:namedview
      inkscape:window-height="1141"
      inkscape:window-width="1920"
      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="0.93884027"
      inkscape:cx="473.72605"
      inkscape:cy="538.63678"
      inkscape:window-x="0"
      inkscape:window-y="0"
      inkscape:current-layer="layer1" />
   <defs
      id="defs2590">
     <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="perspective30" />
     <linearGradient
        id="linearGradient3746">
       <stop
          id="stop3748"
          style="stop-color:#ffffff;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3750"
          style="stop-color:#0074b7;stop-opacity:1"
          offset="1" />
     </linearGradient>
     <radialGradient
        cx="82.966125"
        cy="-178.42453"
        r="526.79456"
        fx="82.966125"
        fy="-178.42453"
        id="radialGradient3880"
        xlink:href="#linearGradient3746"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(1.4952094,0.3367191,-0.1040669,0.5264617,-208.61982,282.52272)" />
     <linearGradient
        id="linearGradient3624">
       <stop
          id="stop3626"
          style="stop-color:#3a8daf;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3636"
          style="stop-color:#252525;stop-opacity:1"
          offset="1" />
     </linearGradient>
     <linearGradient
        x1="552.98486"
        y1="390.56842"
        x2="549.39465"
        y2="702.3479"
        id="linearGradient3630"
        xlink:href="#linearGradient3624"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(2.3373776,0,0,1.5004634,-986.88716,-154.07447)" />
     <linearGradient
        id="linearGradient3816">
       <stop
          id="stop3818"
          style="stop-color:#ad8b00;stop-opacity:1"
          offset="0" />
       <stop
          id="stop3820"
          style="stop-color:#ad8b00;stop-opacity:0"
          offset="1" />
     </linearGradient>
     <linearGradient
        x1="573"
        y1="755.46222"
        x2="573"
        y2="700.13464"
        id="linearGradient3826"
        xlink:href="#linearGradient3816"
        gradientUnits="userSpaceOnUse"
        gradientTransform="matrix(1,0,0,1.6033628,-151.5,-294.0167)" />
     <linearGradient
        id="linearGradient5097">
       <stop
          id="stop5099"
          style="stop-color:#19a2db;stop-opacity:0"
          offset="0" />
       <stop
          id="stop5109"
          style="stop-color:#1379a7;stop-opacity:0.49803922"
          offset="0.30000001" />
       <stop
          id="stop5101"
          style="stop-color:#0e5173;stop-opacity:1"
          offset="1" />
     </linearGradient>
     <linearGradient
        x1="590.84674"
        y1="274.57559"
        x2="590.84674"
        y2="334.01376"
        id="linearGradient5103"
        xlink:href="#linearGradient5097"
        gradientUnits="userSpaceOnUse"
        gradientTransform="translate(-151.5,156.75229)"
        spreadMethod="pad" />
   </defs>
   <g
      id="layer1">
     <rect
        width="1053.5891"
        height="291.32797"
        x="-151.79456"
        y="158.38464"
        id="rect3638"
        style="opacity:1;fill:url(#radialGradient3880);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.1880002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <rect
        width="1054.4708"
        height="461.52972"
        x="-152.23541"
        y="435.10107"
        id="rect3622"
        style="opacity:1;fill:url(#linearGradient3630);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.13464069;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
     <path
        d="M -152.5,869.5896 C 120.5,855.15934 -202.86309,732.0556 109.5,862.15934 C 172.96247,888.59238 243.5,863.7627 297.5,862.15934 C 351.5,860.55598 311.5,847.48872 358.5,868.33244 C 405.5,889.17615 553.5,849.14252 598.5,841.12571 C 643.5,833.1089 756.5,824.50553 795.5,838.9358 C 834.5,853.36606 904.5,855.74589 904.5,855.74589 L 901.5,903.84677 L -154.5,902.24341 L -152.5,869.5896 z"
        id="path3814"
        style="fill:url(#linearGradient3826);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
     <path
        d="M 902.20121,891.3446 C 632.01828,885.30439 756.73005,848.09724 614.20403,891.30439 C 596.58819,896.64468 408.23621,877.36748 400.43291,891.30439 C 376.86263,933.40172 75.265447,858.10952 34.250926,881.93531 C 31.281885,883.66006 12.514878,878.65564 -12.264082,885.67419 C -48.555335,895.95355 -64.717178,880.4469 -103.31472,886.48711 C -141.91229,892.52732 -145.87102,888.50052 -145.87102,888.50052 L -152.79879,902.75389 L 892.3044,902.08275 L 902.20121,891.3446 z"
        id="path3828"
        style="fill:#ad8b00;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
   </g>
 </svg>