Implementation of the text rendering.
Implementation of the rotation.
Fix the memory leak bug.