code: def _scale_coords(self, x, y, extent, xo, yo):
          
          return xo + (x * self._size * 2 / extent), yo + ((extent - y) * self._size / extent)
docs: Convert from tile coordinates to "pixels" - i.e. text characters.