Figure 5: The illustration for the ellipse-rectangle algorithm.