code: def window_to_offset(self, win_x, win_y):
          
          arr_pts = np.asarray((win_x, win_y)).T
          return self.tform['cartesian_to_native'].from_(arr_pts).T[:2]
docs: Reverse of :meth:`offset_to_window`.