title: Why is there no way to rotate in canvas.getContext('2d').setTransform(a,b,c,d,e,f) and what is the best to do a rotate
body: <p>I'm playing around with HTML5 canvas, and I am trying to implement a way of moving an image around on a canvas using translation, scaling, and rotation.</p>
  
  <p>I have got translation and scaling working using setTransform:</p>
  
  <pre><code>canvas.getContext('2d').setTransform(a,b,c,d,e,f)
  </code></pre>
  
  <p>Which is handy as it discards previous transforms applied, then applies new ones, so there is no need to remember previous state when scaling etc.</p>
  
  <p><a href="http://www.w3schools.com/html5/canvas_settransform.asp" rel="nofollow">On W3 schools</a> is states that the 2nd and 3rd params are <em>skewY</em> and <em>skewX</em>, which I at first assumed to be rotate x and y. However after applying a transform passing some values to these params, it seems it doesn't rotate - it skews the canvas! (strange I know :-D).</p>
  
  <p>Can anyone tell me why there is not rotate in set transform (I'm interested as it seems strange, and skew seems pretty useless to me), and also what is the best way to do a rotate around the center of a canvas along with using <code>setTransform</code> at the same time?</p>