Table of Contents
This is useful for tracking changes in a surface. It takes a surface as a keyword initializer: eg s = SurfaceGL(initialize_with_this = a_surf) Or you can initialize it like a normal surface.
Once the pixel data is changed, either is_dirty will be true, or changed_rects will not be empty. If is_dirty is true: then the whole image needs to be updated. Else: if changed_rects is not empty: update the rects which have been changed.
Table of ContentsThis document was automatically generated on Sat Jul 30 12:45:41 2005 by HappyDoc version 2.1