trisquel-icecat/icecat/layout/reftests/svg/pattern-transform-presence-01-ref.svg
2025-10-06 02:35:48 -06:00

19 lines
731 B
XML

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 100">
<defs>
<pattern id="patternRotated" width="1" height="1"
patternTransform="rotate(45 50 50)">
<rect width="50" height="50" fill="blue"/>
<rect x="50" width="50" height="50" fill="red"/>
<rect y="50" width="50" height="50" fill="red"/>
<rect x="50" y="50" width="50" height="50" fill="blue"/>
</pattern>
</defs>
<rect width="100" height="100" stroke="black" fill="url(#patternRotated)"/>
<g transform="translate(100)">
<rect width="100" height="100" stroke="black" fill="url(#patternRotated)"/>
</g>
<g transform="translate(200)">
<rect width="100" height="100" stroke="black" fill="url(#patternRotated)"/>
</g>
</svg>