Debian Codegraph @

testsuite/svg/renderer/nested-svg-aspect-ratio.svg

raw symbols SCIP
1 <svg xmlns="http://www.w3.org/2000/svg" width="400" height="300">
2 <svg x="0" y="0" width="80" height="80" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">
3 <rect x="0" y="0" width="100" height="100" fill="red"/>
4 </svg>
5
6 <svg x="100" y="0" width="80" height="80" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid meet">
7 <rect x="0" y="0" width="100" height="100" fill="blue"/>
8 </svg>
9
10 <svg x="200" y="0" width="80" height="80" viewBox="0 0 100 100" preserveAspectRatio="xMaxYMax meet">
11 <rect x="0" y="0" width="100" height="100" fill="green"/>
12 </svg>
13
14 <svg x="0" y="100" width="120" height="60" viewBox="0 0 100 100" preserveAspectRatio="none">
15 <circle cx="50" cy="50" r="50" fill="yellow"/>
16 </svg>
17
18 <svg x="150" y="100" width="60" height="120" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice">
19 <rect x="0" y="0" width="100" height="100" fill="purple"/>
20 </svg>
21 </svg>