Object
# File lib/cairo/point.rb, line 3 def distance(other) Math.sqrt((other.x - x) ** 2 + (other.y - y) ** 2) end