how to use JavaScript to calculate the coordinates of x2 and y2 after the elements in the figure are rotated? the center point of rotation is the center point of dashed wireframe ...
After canvas inserts a picture, operations such as rotation and magnification need to be carried out, and the track will be recorded by hand on the basis of the operation. The problem is that the rotation and magnification operation will change the ori...