I'm trying to re-size a div element while dragging from top right or bottom left corners.
In order to calculate the new width and height, i need to know the other two points on the rectangle
how can I get this values given only two point and the rotation degree?
please view the image I've added to fully understand this issue plus, the div can be also rotated (centered origin)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With