| 1 | <svg |
| 2 | xmlns='http://www.w3.org/2000/svg' |
| 3 | width='100' |
| 4 | height='100' |
| 5 | viewBox='0 0 480 360'> |
| 6 | <g> |
| 7 | <g> |
| 8 | <clipPath |
| 9 | id='clip1' |
| 10 | clipPathUnits='objectBoundingBox'> |
| 11 | <rect |
| 12 | x='0.25' |
| 13 | y='0.5' |
| 14 | width='0.6' |
| 15 | height='1'> |
| 16 | </rect> |
| 17 | </clipPath> |
| 18 | <rect |
| 19 | clip-path='url(#clip1)' |
| 20 | fill='rgb(255,0,136)' |
| 21 | x='10' |
| 22 | y='10' |
| 23 | width='430' |
| 24 | height='80'> |
| 25 | </rect> |
| 26 | <rect |
| 27 | fill='none' |
| 28 | stroke='rgb(0,0,0)' |
| 29 | stroke-width='4' |
| 30 | x='117' |
| 31 | y='50' |
| 32 | width='258' |
| 33 | height='40'> |
| 34 | </rect> |
| 35 | <clipPath |
| 36 | id='clip2' |
| 37 | clipPathUnits='userSpaceOnUse'> |
| 38 | <rect |
| 39 | x='60' |
| 40 | y='60' |
| 41 | width='80' |
| 42 | height='80'> |
| 43 | </rect> |
| 44 | </clipPath> |
| 45 | <rect |
| 46 | transform='translate(100, 200) rotate(-45, 0, 0)' |
| 47 | fill='rgb(0,0,255)' |
| 48 | clip-path='url(#clip2)' |
| 49 | x='0' |
| 50 | y='0' |
| 51 | width='120' |
| 52 | height='120'> |
| 53 | </rect> |
| 54 | <rect |
| 55 | transform='translate(100, 200) rotate(-45, 0, 0)' |
| 56 | fill='none' |
| 57 | stroke='rgb(0,0,0)' |
| 58 | stroke-width='4' |
| 59 | x='60' |
| 60 | y='60' |
| 61 | width='60' |
| 62 | height='60'> |
| 63 | </rect> |
| 64 | </g> |
| 65 | </g> |
| 66 | <g> |
| 67 | </g> |
| 68 | <rect |
| 69 | id='test-frame' |
| 70 | fill='none' |
| 71 | stroke='rgb(0,0,0)' |
| 72 | x='1' |
| 73 | y='1' |
| 74 | width='478' |
| 75 | height='358'> |
| 76 | </rect> |
| 77 | </svg> |