Problem
1. Write a routine to clip an ellipse against a rectangular window.
2. Assuming that all characters in a text string have the same width, develop a text-clip-ping algorithm that clips a string according to the "all-or-none character-clipping" strategy.
3. Develop a text-clipping algorithm that clips individual characters assuming that the characters are defined in a pixel grid of a specified size.