code: def from_(self, win_pts):
          
          # make relative to center pixel to convert from window
          # graphics space to standard X/Y coordinate space
          win_pts = np.asarray(win_pts, dtype=np.float)
          has_z = (win_pts.shape[-1] > 2)
  
          ctr_pt = list(self.viewer.get_center())
          if has_z:
              ctr_pt.append(0.0)
  
          mpy_pt = [1.0, -1.0]
          if has_z:
              mpy_pt.append(1.0)
  
          # off_x = win_x - ctr_x
          #       = win_x + -ctr_x
          # off_y = ctr_y - win_y
          #       = -win_y + ctr_y
          ctr_pt[0] = -ctr_pt[0]
          off_pts = np.add(np.multiply(win_pts, mpy_pt), ctr_pt)
  
          return off_pts
docs: Reverse of :meth:`to_`.