This question is a followup to the question: width/height after transform.
I am posting a new question because that question only solves the width and not the height. The formula:
var x = $('#box').width()*Math.cos(rotationAngle)
+ $('#box').height()*Math.sin(rotationAngle);
works well for the width, what is the equivalent formula to calculate the height?
Thanks.