gummworld2.subpixel
index
c:\cygwin\home\bw\devel\python\svn\gummworld2_devel\gamelib\gummworld2\subpixel.py

# Attribution: DR0ID
# Source: http://www.pygame.org/project-Sub-pixel+surface-413-.html

 
Modules
       
pygame

 
Classes
       
__builtin__.object
SubPixelSurface

 
class SubPixelSurface(__builtin__.object)
     Methods defined here:
__init__(self, surface, level=3)
Creates a sub pixel surface object.
 
surface -- A PyGame surface
x_level -- Number of sub-pixel levels in x
y_level -- Number of sub-pixel levels in y (same as x if omited)
at(self, x, y)
Gets a sub-pixel surface for a given coordinate.
 
x -- X coordinate
y -- Y coordinate

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
floor(...)
floor(x)
 
Return the floor of x as a float.
This is the largest integral value <= x.