code: def __execute_scale(self, surface, size_to_scale_from):
          
          x = size_to_scale_from[0] * self.__scale[0]
          y = size_to_scale_from[1] * self.__scale[1]
          scaled_value = (int(x), int(y))
  
  ##        #Find out what scaling technique we should use.
  ##        if self.image.get_bitsize >= 24:
  ##            #We have sufficient bit depth to run smooth scale
  ##            self.image = pygame.transform.smoothscale(self.image, scaled_value)
  ##        else:
              ##Surface doesn't support smooth scale, revert to regular scale
          self.image = pygame.transform.scale(self.image, scaled_value)
  
          self.__resize_surface_extents()
docs: Execute the scaling operation