title: How to determine size of Raphael object after scaling & rotating it?
body: <p>If I were to create an image as a Raphael.js object with the initial size <strong>[w1,h1]</strong>, then scale it using the <code>transform()</code> method, how would I afterward retrieve its new size <strong>[w2,h2]</strong>? Because calling <code>image.attr("width")</code> returns w1, the initial width, not the width after the transformation.</p>
  
  <p>I know you might say that I should simply multiply w1 and h1 with the scaling factors, but most of the times, a rotation transformation is also applied, which makes things a little more cumbersome.</p>
  
  <p>So in short, is there a method in Raphael.js that retrieves the correct size of an object, regardless of any transformations that may have been applied to it?</p>