I'm looking for algorithms or methods suitable for filling the area enclosed between complex curves - for example, the area within an outer ellipse but outside an inner ellipse, or the area bounded by two or more Bezier curves.
I'm familiar with the Flood Fill algorithm, which is quite universal, but it can also be inefficient and imprecise for complex shapes and large images.
I'm interested in alternatives, especially scanline-based methods. I understand that these work by intersecting the curves with horizontal or vertical lines and filling in the pixels between intersection points. However, the implementation details can get quite complex, especially for curves like ellipses or Bezier curves that require solving equations to find the intersection points.
Can anyone provide more detailed guidance or point me to resources about implementing these scanline fill methods for complex curves? Are there other, possibly more efficient or easier to implement, methods that I should consider?
Is analytical way to fast determine if point is inside such areas?