title: KineticJS and pinch and zoom
body: <p>I would like to achieve this effect outlined here: <a href="http://www.html5canvastutorials.com/labs/html5-canvas-multi-touch-scale-stage-with-kineticjs/" rel="nofollow">http://www.html5canvastutorials.com/labs/html5-canvas-multi-touch-scale-stage-with-kineticjs/</a></p>
  
  <p>But on a <code>Layer</code> in <code>KineticJS</code></p>
  
  <p>I have already got it working to a degree (using basically the same code as in the link), but it seems the Layer scales around the 0,0 origin point and I cannot see any doco about changing the transform origin?</p>
  
  <p>How can I effectively pinch and zoom a <code>Layer</code> such that it scales around it center point?</p>