(self, new_size_x, new_size_y)
Change the physical display size.
Change the physical display size.
Change the physical display size .
def set_display_size(self, new_size_x, new_size_y):
        """Change the physical display size."""
        self._window_size = new_size_x, new_size_y
        self._display_size = self._window_size
        self._calculate_scale()
        self._calculate_letterbox_shift()
def set_display_size ( self , new_size_x , new_size_y ) : self . _window_size = new_size_x , new_size_y self . _display_size = self . _window_size self . _calculate_scale ( ) self . _calculate_letterbox_shift ( )