Package pyj2d :: Module transform

Module transform

Functions
 
rotate(surface, angle)
Return Surface rotated by the given angle.
 
rotozoom(surface, angle, size)
Return Surface rotated and resized by the given angle and size.
 
scale(surface, size, dest=None)
Return Surface resized by the given size. An optional destination surface can be provided.
 
smoothscale(surface, size, dest=None)
Return Surface resized by the given size. An optional destination surface can be provided.
 
scale2x(surface, dest=None)
Return Surface resized to twice its size. An optional destination surface can be provided.
 
flip(surface, xbool=True, ybool=False)
Return Surface that is flipped horizontally, vertically, or both.
Variables
  __doc__ = 'Surface transformation'