Mercurial > py-sdl2
changeset 146:b8394474f748 sub-sprite
Update the Pygamers doc for subsurface
| author | Jan Varho <jan@varho.org> |
|---|---|
| date | Fri, 17 Jan 2014 16:07:54 +0200 |
| parents | a1f0310959b1 |
| children | 3af6789406f0 6b37cc10e642 |
| files | doc/tutorial/pygamers.rst |
| diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/tutorial/pygamers.rst Fri Jan 17 16:05:32 2014 +0200 +++ b/doc/tutorial/pygamers.rst Fri Jan 17 16:07:54 2014 +0200 @@ -302,11 +302,11 @@ ``unmap_rgb()`` :func:`sdl2.pixels.SDL_GetRGB()` ``set_clip()`` :func:`sdl2.surface.SDL_SetClipRect()` ``get_clip()`` :func:`sdl2.surface.SDL_GetClipRect()` -``subsurface`` No equivalent yet -``get_parent()`` As for ``subsurface`` -``get_abs_parent()`` As for ``subsurface`` -``get_offset()`` As for ``subsurface`` -``get_abs_offset()`` As for ``subsurface`` +``subsurface()`` :func:`sdl2.ext.subsurface()` +``get_parent()`` No equivalent yet +``get_abs_parent()`` As for ``get_parent`` +``get_offset()`` As for ``get_parent`` +``get_abs_offset()`` As for ``get_parent`` ``get_size()`` :attr:`sdl2.ext.Sprite.size`, :attr:`sdl2.surface.SDL_Surface.w`, :attr:`sdl2.surface.SDL_Surface.h`
