Efficient Polygon Filling with Scan-line Algorithm