NSView Rotation

Previously, attempts were made to modify bounds rotation and other things to compensate for rotating an image 90 degrees right or left. It has been found that this approach is much harder than necessary. The correct approach is simple, fast, and more efficient. The correct thing to do is not to rotate the frame or bounds of any object, but to rotate the drawing coordinate system from inside the drawRect method: