summaryrefslogtreecommitdiff
path: root/test/svg/doc.8.clip-user3.svg
blob: 8ff61d593d5787b86d2eb0ff8dc7e474065193be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="1000" height="1000">
  <clipPath id="clip" clipPathUnits="userSpaceOnUse" >
    <circle  cx="500" cy="-500" r="400" />
  </clipPath>

  <clipPath id="clip2" clipPathUnits="userSpaceOnUse" >
    <rect x="100" y="-900" width="800" height="400"/>
  </clipPath>

  <g clip-path="url(#clip)">
     <rect x="100" y="-900" width="800" height="800"
           stroke="green" stroke-width="100"
           clip-path="url(#clip2)" />
   </g>
</svg>