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>&nbsp;||&nbsp; 21 <a href="display.html">Display</a>&nbsp;||&nbsp;
22 <a href="draw.html">Draw</a>&nbsp;||&nbsp; 22 <a href="draw.html">Draw</a>&nbsp;||&nbsp;
23 <a href="event.html">Event</a>&nbsp;||&nbsp; 23 <a href="event.html">Event</a>&nbsp;||&nbsp;
24 <a href="examples.html">Examples</a>&nbsp;||&nbsp; 24 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
25 <a href="font.html">Font</a>&nbsp;||&nbsp; 25 <a href="font.html">Font</a>&nbsp;||&nbsp;
26 <a href="freetype.html">Freetype</a>&nbsp;||&nbsp;
26 <a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp; 27 <a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
27 <a href="image.html">Image</a>&nbsp;||&nbsp; 28 <a href="image.html">Image</a>&nbsp;||&nbsp;
28 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp; 29 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
29 <a href="key.html">Key</a>&nbsp;||&nbsp; 30 <a href="key.html">Key</a>&nbsp;||&nbsp;
30 <a href="locals.html">Locals</a>&nbsp;||&nbsp; 31 <a href="locals.html">Locals</a>&nbsp;||&nbsp;
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--> &nbsp;<br> 191 <!--COMMENTS:Surface.scroll--> &nbsp;<br>
190 <br></ul> 192 <br></ul>
191 193
192 194
193 <a name="Surface.set_colorkey"> 195 <a name="Surface.set_colorkey">