code: def translate_rects(self, rects):
          
          retval = list()
          append = retval.append
          sx, sy = self.get_center_offset()
          if self._zoom_level == 1.0:
              for r in rects:
                  x, y, w, h = r
                  append(Rect(x + sx, y + sy, w, h))
          else:
              rx = self._real_ratio_x
              ry = self._real_ratio_y
              for r in rects:
                  x, y, w, h = r
                  append(Rect(round((x + sx) * rx), round((y + sy) * ry), round(w * rx), round(h * ry)))
          return retval
docs: Translate rect position and size to screen coordinates.  Respects zoom level.
  
          Will be returned in order passed as Rects.
  
          :return: list