Calculate the horizontal and vertical dimensions of a rectangle after
rotation by angle theta
(in degrees). This is an internal
function, not intended to be called by package users.
angle_adj(hsize, vsize, theta)
Two-element vector with the new width and height, with respect to the original axes, of the rotated rectangle.
Numeric scalars, the width and height of a rectangle oriented parallel to the coordinate axes, with one corner at the origin.
Rotation angle, in degrees.