Exemple #1
0
def real_transform_scale(surf, size):
    return pgrender.transform_scale_unscaled(surf, size)
 def save_png(surf, dest, compress=-1):
     surf = pgrender.transform_scale_unscaled(surf.surface, surf.get_size())
     old_save_png(surf, dest, compress=compress)
Exemple #3
0
def real_transform_scale(surf, size):
    return pgrender.transform_scale_unscaled(surf, size)
 def image_save(surf, dest):
     surf = pgrender.transform_scale_unscaled(surf.surface, surf.get_size())
     old_image_save(surf, dest)
    def transform_scale(surf, size):

        rv = pgrender.transform_scale_unscaled(surf.surface, v2p(size))
        rv = ScaledSurface(rv, wh=size)

        return rv
Exemple #6
0
 def save_png(surf, dest, compress=-1):
     surf = pgrender.transform_scale_unscaled(surf.surface, surf.get_size())
     old_save_png(surf, dest, compress=compress)
Exemple #7
0
 def image_save(surf, dest):
     surf = pgrender.transform_scale_unscaled(surf.surface, surf.get_size())
     old_image_save(surf, dest)
Exemple #8
0
    def transform_scale(surf, size):

        rv = pgrender.transform_scale_unscaled(surf.surface, v2p(size))
        rv = ScaledSurface(rv, wh=size)

        return rv