Function minutiae::util::calc_offset [] [src]

pub fn calc_offset(x1: usize, y1: usize, x2: usize, y2: usize) -> (isize, isize)

Calculates the offset between two coordinates; where point 2 is located relative to point 1