local unitArea = math.pi
local sizeRatio = math.sqrt(4 / unitArea)

CirclePointStamp = function(canvas, x, y, radius, paint)
    local size = (radius or 2) * sizeRatio
    local path = Path.oval{
        left = x - size,
        bottom = y - size,
        right = x + size,
        top = y + size,
    }
    canvas:setPaint(paint):fill(path)
end

return CirclePointStamp
