| 1 |
<svg id="svg-root" width="100%" height="100%" |
| 2 |
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" |
| 3 |
xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
<filter id="primitive-bounds-narrower"> |
| 13 |
<feConvolveMatrix kernelUnitLength="1" x="0" y="0" width="25" height="25" edgeMode="wrap" order="5" targetX="0" targetY="0" kernelMatrix="1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"/> |
| 14 |
</filter> |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
<filter id="primitive-bounds-larger"> |
| 19 |
<feFlood x="0" y="0" width="30" height="30" flood-color="red" result="f1"/> |
| 20 |
<feFlood x="5" y="5" width="20" height="20" flood-color="green" result="f2"/> |
| 21 |
<feMerge> |
| 22 |
<feMergeNode in="f1"/> |
| 23 |
<feMergeNode in="f2"/> |
| 24 |
</feMerge> |
| 25 |
<feConvolveMatrix kernelUnitLength="1" x="0" y="0" width="50" height="50" edgeMode="wrap" order="5" targetX="0" targetY="0" kernelMatrix="1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"/> |
| 26 |
</filter> |
| 27 |
|
| 28 |
<g transform="translate(30 20)" filter="url(#primitive-bounds-narrower)"> |
| 29 |
<rect fill="red" x="1" y="1" width="50" height="50"/> |
| 30 |
<rect fill="green" x="6" y="6" width="40" height="40"/> |
| 31 |
</g> |
| 32 |
|
| 33 |
<g transform="translate(90 20)" filter="url(#primitive-bounds-larger)"> |
| 34 |
<rect x="1" y="1" width="50" height="50"/> |
| 35 |
</g> |
| 36 |
</svg> |