title: How to calculate SVG transform matrix from rotate/translate/scale values?
body: <p>I have following details with me :</p>
  
  <pre><code>&lt;g transform="translate(20, 50) scale(1, 1) rotate(-30 10 25)"&gt;
  </code></pre>
  
  <p>Need to change above line to:</p>
  
  <pre><code>&lt;g transform="matrix(?,?,?,?,?,?)"&gt;
  </code></pre>
  
  <p>Can anyone help me to achieve this?</p>