Package motherhamster :: Module surfacefilters

Module surfacefilters



filters and effects for pygame surfaces (C) Copyright 2006 Hamster Republic Productions

Classes
  SurfaceFilterABC
an abstract base class for filters
  TexturizeFilter
a filter that remaps the opaque pixels to a texture
  AlphaBlurBehindFilter
a filter that puts a colored blur of the alpha channel behind the surface, like outer glow or drop shadow
  SurfaceFilters
Functions
 
FindCropRect(surface, max_alpha=0)
 
GetAlphaBlur(surface, radius)
 
CreateSurfaceFromAlpha(alpha_buffer, size, color)