Polygon filling algorithm example (scanline)

show your code please

see also Store the coordinates of the mouse clicks