summaryrefslogtreecommitdiff
path: root/test/svg/doc.7.clip-object2.svg
blob: f5c153dd1becc7b76bf2b49e6df0e1738a35aec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
<svg  xmlns="http://www.w3.org/2000/svg" width="1000" height="1000">
  <clipPath id="clip" clipPathUnits="objectBoundingBox">
    <circle cx=".5" cy=".5" r=".5" />
    <rect x="0" y="0" width="1" height="0.5"/>
  </clipPath>

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

</svg>