Get coordinates from drawing