Draw edges with left button click and fill polygon by clicking right mouse button inside polygon.
This algorithms cannot fill pixels located in diagonal between edges.