The document discusses different methods for filling polygons in computer graphics, including seed fill algorithms, scanline algorithms, and the nonzero winding number rule. It provides examples of code to implement a scanline polygon filling algorithm, which works by calculating the slopes of each polygon edge, determining the x-coordinate intersections of each scanline with the polygon edges, and drawing filled regions between the intersections from left to right.