[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pygame] PATCH: /docs/tut/SurfarrayIntro.html
10:55 >cvs diff -u SurfarrayIntro.html
Index: SurfarrayIntro.html
===================================================================
RCS file: /home/cvspsrv/cvsroot/games/pygame/docs/tut/SurfarrayIntro.html,v
retrieving revision 1.3
diff -u -r1.3 SurfarrayIntro.html
--- SurfarrayIntro.html 7 Sep 2002 17:10:50 -0000 1.3
+++ SurfarrayIntro.html 17 Dec 2002 16:05:23 -0000
@@ -199,7 +199,7 @@
There are two main types of functions in surfarray. One set of functions for
creating an array that is a copy of a surface pixel data. The other
functions
create a referenced copy of the array pixel data, so that changes to the
array
-directly effect the original surface. There are other functions that allow
you
+directly affect the original surface. There are other functions that allow
you
to access any per-pixel alpha values as arrays along with a few other
helpful
functions. We will look at these other functions later on.
<br> <br>
@@ -402,13 +402,13 @@
<br> <br>
-<h2>Transparancy</h2>
+<h2>Transparency</h2>
The surfarray module has several methods for accessing a Surface's
alpha/colorkey
-values. None of the alpha functions are effected by overal transparancy of
a
+values. None of the alpha functions are affected by overall transparency of
a
Surface, just the pixel alpha values. Here's the list of those functions.
<dl>
<dt><b>surfarray.pixels_alpha(surface)</b></dt><dd>Creates a 2D array
<i>(integer
-pixel values)</i> that reference the original surface alpha data. This will
only
+pixel values)</i> that references the original surface alpha data. This
will only
work on 32bit images with an 8bit alpha component.</dd>
<dt><b>surfarray.array_alpha(surface)</b><dd></dd>Creates a 2D array
<i>(integer pixel
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org