cairo/test/svg/doc.5.clip-object.svg

11 lines
313 B
XML
Raw Normal View History

2022-06-24 06:44:30 +09:30
<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="1000">
<clipPath id="clip" clipPathUnits="objectBoundingBox">
<circle cx=".5" cy=".5" r=".5" />
</clipPath>
<rect x="100" y="-900" width="800" height="800"
stroke="green" stroke-width="100"
clip-path="url(#clip)" />
</svg>