Mercurial > pygame
comparison docs/ref/surface.html @ 1849:301bc61643a9 math_module
merged changes from trunk
| author | lorenz |
|---|---|
| date | Mon, 16 Nov 2009 18:31:40 +0000 |
| parents | 02c1e8e9c102 |
| children |
comparison
equal
deleted
inserted
replaced
| 1848:bbc21cd6faeb | 1849:301bc61643a9 |
|---|---|
| 21 <a href="display.html">Display</a> || | 21 <a href="display.html">Display</a> || |
| 22 <a href="draw.html">Draw</a> || | 22 <a href="draw.html">Draw</a> || |
| 23 <a href="event.html">Event</a> || | 23 <a href="event.html">Event</a> || |
| 24 <a href="examples.html">Examples</a> || | 24 <a href="examples.html">Examples</a> || |
| 25 <a href="font.html">Font</a> || | 25 <a href="font.html">Font</a> || |
| 26 <a href="freetype.html">Freetype</a> || | |
| 26 <a href="gfxdraw.html">Gfxdraw</a> || | 27 <a href="gfxdraw.html">Gfxdraw</a> || |
| 27 <a href="image.html">Image</a> || | 28 <a href="image.html">Image</a> || |
| 28 <a href="joystick.html">Joystick</a> || | 29 <a href="joystick.html">Joystick</a> || |
| 29 <a href="key.html">Key</a> || | 30 <a href="key.html">Key</a> || |
| 30 <a href="locals.html">Locals</a> || | 31 <a href="locals.html">Locals</a> || |
| 184 <a name="Surface.scroll"> | 185 <a name="Surface.scroll"> |
| 185 <big><b>Surface.scroll</big></b><br><ul> | 186 <big><b>Surface.scroll</big></b><br><ul> |
| 186 <i>Shift the surface image in place</i><br> | 187 <i>Shift the surface image in place</i><br> |
| 187 <tt>Surface.scroll(dx=0, dy=0): return None</tt><br> | 188 <tt>Surface.scroll(dx=0, dy=0): return None</tt><br> |
| 188 <p>Move the image by dx pixels right and dy pixels down. dx and dy may be negative for left and up scrolls respectively. Areas of the surface that are not overwritten retain their original pixel values. Scrolling is contained by the Surface clip area. It is safe to have dx and dy values that exceed the surface size. </p> | 189 <p>Move the image by dx pixels right and dy pixels down. dx and dy may be negative for left and up scrolls respectively. Areas of the surface that are not overwritten retain their original pixel values. Scrolling is contained by the Surface clip area. It is safe to have dx and dy values that exceed the surface size. </p> |
| 190 <p>New in Pygame <tt>1.9</tt> </p> | |
| 189 <!--COMMENTS:Surface.scroll--> <br> | 191 <!--COMMENTS:Surface.scroll--> <br> |
| 190 <br></ul> | 192 <br></ul> |
| 191 | 193 |
| 192 | 194 |
| 193 <a name="Surface.set_colorkey"> | 195 <a name="Surface.set_colorkey"> |
