def addPointToPath(path, pixelDictionary, point, value, width):
 path.append(point)
 if (len(path) < 2):
  return
 begin = path[(-2)]
 addValueSegmentToPixelTable(begin, point, pixelDictionary, value, width)

def addPointToPath ( path , pixelDictionary , point , value , width ) : path . append ( point ) if ( len ( path ) < 2 ) : return begin = path [ ( - 2 ) ] addValueSegmentToPixelTable ( begin , point , pixelDictionary , value , width )
add a point to a path and the pixel table .