Ellipse generating algorithm:
Algorithm is similar to circle algorithm. We divide the ellipse on the positive quadrant into two regions. Region 1 where the slope > -1, and Region 2 where the slope ≤-1. Different decision parameters are defined for these two regions.