in SAM2-Demo/Views/ImageView.swift [148:150]
func toSize(_ size: CGSize) -> CGPoint { CGPoint(x: x * size.width, y: y * size.height) }