How to determine size of Raphael object after scaling & rotating it?
问题 If I were to create an image as a Raphael.js object with the initial size [w1,h1] , then scale it using the transform() method, how would I afterward retrieve its new size [w2,h2] ? Because calling image.attr("width") returns w1, the initial width, not the width after the transformation. 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. So in