code: def calc_sq_distance(x1, y1, x2, y2):
      dx = x2 - x1
      dy = y2 - y1
      return dx * dx + dy * dy
  
file_path: vispy/vispy/util/svg/geometry.py
imports: import math
label_desc: Use image node_id 1 for calling a global function with example usage: calc_sq_distance(x1, y1, x2, y2) and returns: unknown