summaryrefslogtreecommitdiff
path: root/test/svg/transforms.svg
blob: 0eb77560f2a667bc9b1f68258714b1b17b857236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 150" width="200" height="150">
  <g transform="translate(50 50)">
    <rect x="-20" y="-20" width="40" height="40" fill="#58c4dd" transform="rotate(30)"/>
  </g>
  <g transform="translate(140 50) scale(1.5 0.7)">
    <circle r="25" fill="#83c167" stroke="#ece6e2" stroke-width="4"/>
  </g>
  <rect x="20" y="100" width="40" height="30" fill="#fc6255" transform="skewX(30)"/>
  <g transform="matrix(0.8 0.3 -0.3 0.8 130 95)">
    <path d="M0 0 h40 v30 h-40z" fill="#f7d96f"/>
  </g>
  <rect x="150" y="100" width="30" height="30" fill="#9a72ac" transform="rotate(45 165 115)"/>
</svg>