| Trees | Indices | Toggle frames |
|---|
| __init__(self, width, height) | |
| __repr__(self) | |
| AbstractImage |
get_region(self,
x,
y,
width,
height)
Retrieve a rectangular region of this image.
|
|
save(self,
filename=None,
file=None,
encoder=None)
Save this image to a file.
|
|
|
blit(self,
x,
y,
z=0)
Draw this image to the active framebuffers.
|
|
|
blit_into(self,
source,
x,
y,
z)
Draw
source on this image. |
|
|
blit_to_texture(self,
target,
level,
x,
y,
z=0)
Draw this image on the currently bound texture at
target. |
| ImageData |
image_data
An ImageData view of this image.
|
| Texture |
texture
A Texture view of this image.
|
| Texture |
mipmapped_texture
A Texture view of this image.
|
| int |
height
Height of image
|
| int |
width
Width of image
|
file is unspecified.Draw source on this image.
Note that if source is larger than this image (or the positioning
would cause the copy to go out of bounds) then you must pass a
region of source to this method, typically using get_region().
An ImageData view of this image.
Changes to the returned instance may or may not be reflected in this image. Read-only.
A Texture view of this image.
Changes to the returned instance may or may not be reflected in this image. Read-only.
A Texture view of this image.
The returned Texture will have mipmaps filled in for all levels. Requires that image dimensions be powers of 2. Read-only.
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Thu Jan 17 00:21:57 2008 | http://epydoc.sourceforge.net |