(self)
return s.get_width(), s.get_height()
Read the size of the surface. If the surface is already loaded, it
        will read the size from that. If it is not loaded, an uncached load will
        be done, which may be rather slow.
Read the size of the surface. If the surface is already loaded, it
        will read the size from that. If it is not loaded, an uncached load will
        be done, which may be rather slow.
Read the size of the surface . If the surface is already loaded it will read the size from that . If it is not loaded an uncached load will be done which may be rather slow .
def get_size(self):
        """Read the size of the surface. If the surface is already loaded, it
        will read the size from that. If it is not loaded, an uncached load will
        be done, which may be rather slow."""
        # Load uncached does not check the rgb surface
        if hasattr(self, 'surface_rgb'):
            s = self.surface_rgb
        else:
            s = self.load_uncached()
        return s.get_width(), s.get_height()
def get_size ( self ) : # Load uncached does not check the rgb surface if hasattr ( self , 'surface_rgb' ) : s = self . surface_rgb else : s = self . load_uncached ( ) return s . get_width ( ) , s . get_height ( )