I\'m trying to crop a rotated rectangle (dashed red), represented by an upright rectangle with the same center (solid red) and a rotational angle, out of a bitmap in a way t