Documentation for rotations.
Switched text rendering to the new API.