Commits

Lenard Lindstrom  committed 1f6df4b

add gfxdraw docs

  • Participants
  • Parent commits 2b93930

Comments (0)

Files changed (36)

File docs/index.html

       <a href="ref/event.html">Event</a>&nbsp;||&nbsp;
       <a href="ref/examples.html">Examples</a>&nbsp;||&nbsp;
       <a href="ref/font.html">Font</a>&nbsp;||&nbsp;
+      <a href="ref/gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
       <a href="ref/image.html">Image</a>&nbsp;||&nbsp;
       <a href="ref/joystick.html">Joystick</a>&nbsp;||&nbsp;
       <a href="ref/key.html">Key</a>&nbsp;||&nbsp;
   <dt><a href="ref/event.html">Event</a></dt><dd> Manage the incoming events from various input devices and the windowing platform.</dd>
   <dt><a href="ref/examples.html">Examples</a></dt><dd> Various programs demonstrating the use of individual pygame modules.</dd>
   <dt><a href="ref/font.html">Font</a></dt><dd> Loading and rendering Truetype fonts.</dd>
+  <dt><a href="ref/gfxdraw.html">Gfxdraw</a></dt><dd> Anti-aliasing draw functions.</dd>
   <dt><a href="ref/image.html">Image</a></dt><dd> Loading, saving, and transferring of surfaces.</dd>
   <dt><a href="ref/joystick.html">Joystick</a></dt><dd> Manage the joystick devices.</dd>
   <dt><a href="ref/key.html">Key</a></dt><dd> Manage the keyboard device.</dd>

File docs/ref/camera.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/cdrom.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/color.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/cursors.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/display.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/draw.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/event.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/examples.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/font.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/gfxdraw.html

-
-<html>
-<title>gfxdraw - Pygame Documentation</title>
-<body bgcolor=#aaeebb text=#000000 link=#331111 vlink=#331111>
-
-
-<table cellpadding=0 cellspacing=0 border=0 style='border: 3px solid black;' width='100%'>
-<tr>
-<td bgcolor='#c2fc20' style='padding: 6px;' align=center valign=center><a href='http://www.pygame.org/'><img src='../pygame_tiny.gif' border=0 width=200 height=60></a><br><b>pygame documentation</b></td>
-<td bgcolor='#6aee28' style='border-left: 3px solid black; padding: 6px;' align=center valign=center>
-	||&nbsp;
-	<a href=http://www.pygame.org>Pygame Home</a> &nbsp;||&nbsp;
-	<a href=../index.html>Help Contents</a> &nbsp;||
-	<a href=index.html>Reference Index</a> &nbsp;||
-	<br>&nbsp;<br>
-	
-<a href="camera.html">Camera</a>&nbsp;||&nbsp;
-<a href="cdrom.html">Cdrom</a>&nbsp;||&nbsp;
-<a href="color.html">Color</a>&nbsp;||&nbsp;
-<a href="cursors.html">Cursors</a>&nbsp;||&nbsp;
-<a href="display.html">Display</a>&nbsp;||&nbsp;
-<a href="draw.html">Draw</a>&nbsp;||&nbsp;
-<a href="event.html">Event</a>&nbsp;||&nbsp;
-<a href="examples.html">Examples</a>&nbsp;||&nbsp;
-<a href="font.html">Font</a>&nbsp;||&nbsp;
-<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
-<a href="image.html">Image</a>&nbsp;||&nbsp;
-<a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
-<a href="key.html">Key</a>&nbsp;||&nbsp;
-<a href="locals.html">Locals</a>&nbsp;||&nbsp;
-<a href="mask.html">Mask</a>&nbsp;||&nbsp;
-<a href="mixer.html">Mixer</a>&nbsp;||&nbsp;
-<a href="mouse.html">Mouse</a>&nbsp;||&nbsp;
-<a href="movie.html">Movie</a>&nbsp;||&nbsp;
-<a href="music.html">Music</a>&nbsp;||&nbsp;
-<a href="overlay.html">Overlay</a>&nbsp;||&nbsp;
-<a href="pixelarray.html">Pixelarray</a>&nbsp;||&nbsp;
-<a href="pygame.html">Pygame</a>&nbsp;||&nbsp;
-<a href="rect.html">Rect</a>&nbsp;||&nbsp;
-<a href="scrap.html">Scrap</a>&nbsp;||&nbsp;
-<a href="sndarray.html">Sndarray</a>&nbsp;||&nbsp;
-<a href="sprite.html">Sprite</a>&nbsp;||&nbsp;
-<a href="surface.html">Surface</a>&nbsp;||&nbsp;
-<a href="surfarray.html">Surfarray</a>&nbsp;||&nbsp;
-<a href="tests.html">Tests</a>&nbsp;||&nbsp;
-<a href="time.html">Time</a>&nbsp;||&nbsp;
-<a href="transform.html">Transform</a>
-</td></tr></table>
-<br>
-
-
-<a name="pygame.gfxdraw">
-<big><b>pygame.gfxdraw</big></b><br><ul>
-  <i>pygame module for drawing shapes</i><br>
-<ul><small><table>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.pixel">pygame.gfxdraw.pixel</a> - <font size=-1>place a pixel</font></td><td>place a pixel</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.hline">pygame.gfxdraw.hline</a> - <font size=-1>draw a horizontal line</font></td><td>draw a horizontal line</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.vline">pygame.gfxdraw.vline</a> - <font size=-1>draw a vertical line</font></td><td>draw a vertical line</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.rectangle">pygame.gfxdraw.rectangle</a> - <font size=-1>draw a rectangle</font></td><td>draw a rectangle</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.box">pygame.gfxdraw.box</a> - <font size=-1>draw a box</font></td><td>draw a box</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.line">pygame.gfxdraw.line</a> - <font size=-1>draw a line</font></td><td>draw a line</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.circle">pygame.gfxdraw.circle</a> - <font size=-1>draw a circle</font></td><td>draw a circle</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.arc">pygame.gfxdraw.arc</a> - <font size=-1>draw an arc</font></td><td>draw an arc</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aacircle">pygame.gfxdraw.aacircle</a> - <font size=-1>draw an anti-aliased circle</font></td><td>draw an anti-aliased circle</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_circle">pygame.gfxdraw.filled_circle</a> - <font size=-1>draw a filled circle</font></td><td>draw a filled circle</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.ellipse">pygame.gfxdraw.ellipse</a> - <font size=-1>draw an ellipse</font></td><td>draw an ellipse</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aaellipse">pygame.gfxdraw.aaellipse</a> - <font size=-1>draw an anti-aliased ellipse</font></td><td>draw an anti-aliased ellipse</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_ellipse">pygame.gfxdraw.filled_ellipse</a> - <font size=-1>draw a filled ellipse</font></td><td>draw a filled ellipse</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.pie">pygame.gfxdraw.pie</a> - <font size=-1>draw a pie</font></td><td>draw a pie</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.trigon">pygame.gfxdraw.trigon</a> - <font size=-1>draw a triangle</font></td><td>draw a triangle</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aatrigon">pygame.gfxdraw.aatrigon</a> - <font size=-1>draw an anti-aliased triangle</font></td><td>draw an anti-aliased triangle</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_trigon">pygame.gfxdraw.filled_trigon</a> - <font size=-1>draw a filled trigon</font></td><td>draw a filled trigon</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.polygon">pygame.gfxdraw.polygon</a> - <font size=-1>draw a polygon</font></td><td>draw a polygon</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aapolygon">pygame.gfxdraw.aapolygon</a> - <font size=-1>draw an anti-aliased polygon</font></td><td>draw an anti-aliased polygon</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_polygon">pygame.gfxdraw.filled_polygon</a> - <font size=-1>draw a filled polygon</font></td><td>draw a filled polygon</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.textured_polygon">pygame.gfxdraw.textured_polygon</a> - <font size=-1>draw a textured polygon</font></td><td>draw a textured polygon</td></tr>
-  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.bezier">pygame.gfxdraw.bezier</a> - <font size=-1>draw a bezier curve</font></td><td>draw a bezier curve</td></tr>
-</table></small></ul>
-<p>Wraps SDL_gfx primatives. </p>
-<p>Most of the functions accept a color argument that is an <tt>RGB</tt> triplet. These can also accept an <tt>RGBA</tt> quadruplet. The color argument can also be an integer pixel value that is already mapped to the Surface's pixel format. </p>
-<p>For all functions the arguments are strictly positional. Only integers are accepted for coordinates and radii. </p>
-<!--COMMENTS:pygame.gfxdraw--> &nbsp;<br> 
-
-
-<a name="pygame.gfxdraw.pixel">
-<big><b>pygame.gfxdraw.pixel</big></b><br><ul>
-  <i>place a pixel</i><br>
-  <tt>pygame.gfxdraw.pixel(surface, x, y, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.pixel--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.hline">
-<big><b>pygame.gfxdraw.hline</big></b><br><ul>
-  <i>draw a horizontal line</i><br>
-  <tt>pygame.gfxdraw.hline(surface, x1, x2, y, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.hline--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.vline">
-<big><b>pygame.gfxdraw.vline</big></b><br><ul>
-  <i>draw a vertical line</i><br>
-  <tt>pgyame.gfxdraw.vline(surface, x, y1, y2, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.vline--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.rectangle">
-<big><b>pygame.gfxdraw.rectangle</big></b><br><ul>
-  <i>draw a rectangle</i><br>
-  <tt>pgyame.gfxdraw.rectangle(surface, rect, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.rectangle--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.box">
-<big><b>pygame.gfxdraw.box</big></b><br><ul>
-  <i>draw a box</i><br>
-  <tt>pgyame.gfxdraw.box(surface, rect, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.box--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.line">
-<big><b>pygame.gfxdraw.line</big></b><br><ul>
-  <i>draw a line</i><br>
-  <tt>pgyame.gfxdraw.line(surface, x1, y1, x2, y2, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.line--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.circle">
-<big><b>pygame.gfxdraw.circle</big></b><br><ul>
-  <i>draw a circle</i><br>
-  <tt>pgyame.gfxdraw.circle(surface, x, y, r, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.circle--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.arc">
-<big><b>pygame.gfxdraw.arc</big></b><br><ul>
-  <i>draw an arc</i><br>
-  <tt>pgyame.gfxdraw.arc(surface, x, y, r, start, end, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.arc--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.aacircle">
-<big><b>pygame.gfxdraw.aacircle</big></b><br><ul>
-  <i>draw an anti-aliased circle</i><br>
-  <tt>pgyame.gfxdraw.aacircle(surface, x, y, r, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.aacircle--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.filled_circle">
-<big><b>pygame.gfxdraw.filled_circle</big></b><br><ul>
-  <i>draw a filled circle</i><br>
-  <tt>pgyame.gfxdraw.filled_circle(surface, x, y, r, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.filled_circle--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.ellipse">
-<big><b>pygame.gfxdraw.ellipse</big></b><br><ul>
-  <i>draw an ellipse</i><br>
-  <tt>pgyame.gfxdraw.ellipse(surface, x, y, rx, ry, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.ellipse--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.aaellipse">
-<big><b>pygame.gfxdraw.aaellipse</big></b><br><ul>
-  <i>draw an anti-aliased ellipse</i><br>
-  <tt>pgyame.gfxdraw.aaellipse(surface, x, y, rx, ry, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.aaellipse--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.filled_ellipse">
-<big><b>pygame.gfxdraw.filled_ellipse</big></b><br><ul>
-  <i>draw a filled ellipse</i><br>
-  <tt>pgyame.gfxdraw.filled_ellipse(surface, x, y, rx, ry, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.filled_ellipse--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.pie">
-<big><b>pygame.gfxdraw.pie</big></b><br><ul>
-  <i>draw a pie</i><br>
-  <tt>pgyame.gfxdraw.pie(surface, x, y, r, start, end, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.pie--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.trigon">
-<big><b>pygame.gfxdraw.trigon</big></b><br><ul>
-  <i>draw a triangle</i><br>
-  <tt>pgyame.gfxdraw.trigon(surface, x1, y1, x2, y2, x3, y3, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.trigon--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.aatrigon">
-<big><b>pygame.gfxdraw.aatrigon</big></b><br><ul>
-  <i>draw an anti-aliased triangle</i><br>
-  <tt>pgyame.gfxdraw.aatrigon(surface, x1, y1, x2, y2, x3, y3, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.aatrigon--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.filled_trigon">
-<big><b>pygame.gfxdraw.filled_trigon</big></b><br><ul>
-  <i>draw a filled trigon</i><br>
-  <tt>pgyame.gfxdraw.filled_trigon(surface, x1, y1, x3, y2, x3, y3, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.filled_trigon--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.polygon">
-<big><b>pygame.gfxdraw.polygon</big></b><br><ul>
-  <i>draw a polygon</i><br>
-  <tt>pgyame.gfxdraw.polygon(surface, points, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.polygon--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.aapolygon">
-<big><b>pygame.gfxdraw.aapolygon</big></b><br><ul>
-  <i>draw an anti-aliased polygon</i><br>
-  <tt>pgyame.gfxdraw.aapolygon(surface, points, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.aapolygon--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.filled_polygon">
-<big><b>pygame.gfxdraw.filled_polygon</big></b><br><ul>
-  <i>draw a filled polygon</i><br>
-  <tt>pgyame.gfxdraw.filled_polygon(surface, points, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.filled_polygon--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.textured_polygon">
-<big><b>pygame.gfxdraw.textured_polygon</big></b><br><ul>
-  <i>draw a textured polygon</i><br>
-  <tt>pgyame.gfxdraw.textured_polygon(surface, points, texture, tx, ty): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.textured_polygon--> &nbsp;<br> 
-<br></ul>
-
-
-<a name="pygame.gfxdraw.bezier">
-<big><b>pygame.gfxdraw.bezier</big></b><br><ul>
-  <i>draw a bezier curve</i><br>
-  <tt>pgyame.gfxdraw.bezier(surface, points, steps, color): return None</tt><br>
- &nbsp;<br> 
-<!--COMMENTS:pygame.gfxdraw.bezier--> &nbsp;<br> 
-<br></ul>
-<br></ul>
-
-</body></html>
+
+<html>
+<title>gfxdraw - Pygame Documentation</title>
+<body bgcolor=#aaeebb text=#000000 link=#331111 vlink=#331111>
+
+
+<table cellpadding=0 cellspacing=0 border=0 style='border: 3px solid black;' width='100%'>
+<tr>
+<td bgcolor='#c2fc20' style='padding: 6px;' align=center valign=center><a href='http://www.pygame.org/'><img src='../pygame_tiny.gif' border=0 width=200 height=60></a><br><b>pygame documentation</b></td>
+<td bgcolor='#6aee28' style='border-left: 3px solid black; padding: 6px;' align=center valign=center>
+	||&nbsp;
+	<a href=http://www.pygame.org>Pygame Home</a> &nbsp;||&nbsp;
+	<a href=../index.html>Help Contents</a> &nbsp;||
+	<a href=index.html>Reference Index</a> &nbsp;||
+	<br>&nbsp;<br>
+	
+<a href="camera.html">Camera</a>&nbsp;||&nbsp;
+<a href="cdrom.html">Cdrom</a>&nbsp;||&nbsp;
+<a href="color.html">Color</a>&nbsp;||&nbsp;
+<a href="cursors.html">Cursors</a>&nbsp;||&nbsp;
+<a href="display.html">Display</a>&nbsp;||&nbsp;
+<a href="draw.html">Draw</a>&nbsp;||&nbsp;
+<a href="event.html">Event</a>&nbsp;||&nbsp;
+<a href="examples.html">Examples</a>&nbsp;||&nbsp;
+<a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
+<a href="image.html">Image</a>&nbsp;||&nbsp;
+<a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
+<a href="key.html">Key</a>&nbsp;||&nbsp;
+<a href="locals.html">Locals</a>&nbsp;||&nbsp;
+<a href="mask.html">Mask</a>&nbsp;||&nbsp;
+<a href="midi.html">Midi</a>&nbsp;||&nbsp;
+<a href="mixer.html">Mixer</a>&nbsp;||&nbsp;
+<a href="mouse.html">Mouse</a>&nbsp;||&nbsp;
+<a href="movie.html">Movie</a>&nbsp;||&nbsp;
+<a href="music.html">Music</a>&nbsp;||&nbsp;
+<a href="overlay.html">Overlay</a>&nbsp;||&nbsp;
+<a href="pixelarray.html">Pixelarray</a>&nbsp;||&nbsp;
+<a href="pygame.html">Pygame</a>&nbsp;||&nbsp;
+<a href="rect.html">Rect</a>&nbsp;||&nbsp;
+<a href="scrap.html">Scrap</a>&nbsp;||&nbsp;
+<a href="sndarray.html">Sndarray</a>&nbsp;||&nbsp;
+<a href="sprite.html">Sprite</a>&nbsp;||&nbsp;
+<a href="surface.html">Surface</a>&nbsp;||&nbsp;
+<a href="surfarray.html">Surfarray</a>&nbsp;||&nbsp;
+<a href="tests.html">Tests</a>&nbsp;||&nbsp;
+<a href="time.html">Time</a>&nbsp;||&nbsp;
+<a href="transform.html">Transform</a>
+</td></tr></table>
+<br>
+
+
+<a name="pygame.gfxdraw">
+<big><b>pygame.gfxdraw</big></b><br><ul>
+  <i>pygame module for drawing shapes</i><br>
+<ul><small><table>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.pixel">pygame.gfxdraw.pixel</a> - <font size=-1>place a pixel</font></td><td>place a pixel</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.hline">pygame.gfxdraw.hline</a> - <font size=-1>draw a horizontal line</font></td><td>draw a horizontal line</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.vline">pygame.gfxdraw.vline</a> - <font size=-1>draw a vertical line</font></td><td>draw a vertical line</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.rectangle">pygame.gfxdraw.rectangle</a> - <font size=-1>draw a rectangle</font></td><td>draw a rectangle</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.box">pygame.gfxdraw.box</a> - <font size=-1>draw a box</font></td><td>draw a box</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.line">pygame.gfxdraw.line</a> - <font size=-1>draw a line</font></td><td>draw a line</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.circle">pygame.gfxdraw.circle</a> - <font size=-1>draw a circle</font></td><td>draw a circle</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.arc">pygame.gfxdraw.arc</a> - <font size=-1>draw an arc</font></td><td>draw an arc</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aacircle">pygame.gfxdraw.aacircle</a> - <font size=-1>draw an anti-aliased circle</font></td><td>draw an anti-aliased circle</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_circle">pygame.gfxdraw.filled_circle</a> - <font size=-1>draw a filled circle</font></td><td>draw a filled circle</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.ellipse">pygame.gfxdraw.ellipse</a> - <font size=-1>draw an ellipse</font></td><td>draw an ellipse</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aaellipse">pygame.gfxdraw.aaellipse</a> - <font size=-1>draw an anti-aliased ellipse</font></td><td>draw an anti-aliased ellipse</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_ellipse">pygame.gfxdraw.filled_ellipse</a> - <font size=-1>draw a filled ellipse</font></td><td>draw a filled ellipse</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.pie">pygame.gfxdraw.pie</a> - <font size=-1>draw a pie</font></td><td>draw a pie</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.trigon">pygame.gfxdraw.trigon</a> - <font size=-1>draw a triangle</font></td><td>draw a triangle</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aatrigon">pygame.gfxdraw.aatrigon</a> - <font size=-1>draw an anti-aliased triangle</font></td><td>draw an anti-aliased triangle</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_trigon">pygame.gfxdraw.filled_trigon</a> - <font size=-1>draw a filled trigon</font></td><td>draw a filled trigon</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.polygon">pygame.gfxdraw.polygon</a> - <font size=-1>draw a polygon</font></td><td>draw a polygon</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.aapolygon">pygame.gfxdraw.aapolygon</a> - <font size=-1>draw an anti-aliased polygon</font></td><td>draw an anti-aliased polygon</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.filled_polygon">pygame.gfxdraw.filled_polygon</a> - <font size=-1>draw a filled polygon</font></td><td>draw a filled polygon</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.textured_polygon">pygame.gfxdraw.textured_polygon</a> - <font size=-1>draw a textured polygon</font></td><td>draw a textured polygon</td></tr>
+  <tr><td><a href="gfxdraw.html#pygame.gfxdraw.bezier">pygame.gfxdraw.bezier</a> - <font size=-1>draw a bezier curve</font></td><td>draw a bezier curve</td></tr>
+</table></small></ul>
+<p>Wraps SDL_gfx primatives. </p>
+<p>Most of the functions accept a color argument that is an <tt>RGB</tt> triplet. These can also accept an <tt>RGBA</tt> quadruplet. The color argument can also be an integer pixel value that is already mapped to the Surface's pixel format. </p>
+<p>For all functions the arguments are strictly positional. Only integers are accepted for coordinates and radii. </p>
+<!--COMMENTS:pygame.gfxdraw--> &nbsp;<br> 
+
+
+<a name="pygame.gfxdraw.pixel">
+<big><b>pygame.gfxdraw.pixel</big></b><br><ul>
+  <i>place a pixel</i><br>
+  <tt>pygame.gfxdraw.pixel(surface, x, y, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.pixel--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.hline">
+<big><b>pygame.gfxdraw.hline</big></b><br><ul>
+  <i>draw a horizontal line</i><br>
+  <tt>pygame.gfxdraw.hline(surface, x1, x2, y, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.hline--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.vline">
+<big><b>pygame.gfxdraw.vline</big></b><br><ul>
+  <i>draw a vertical line</i><br>
+  <tt>pgyame.gfxdraw.vline(surface, x, y1, y2, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.vline--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.rectangle">
+<big><b>pygame.gfxdraw.rectangle</big></b><br><ul>
+  <i>draw a rectangle</i><br>
+  <tt>pgyame.gfxdraw.rectangle(surface, rect, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.rectangle--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.box">
+<big><b>pygame.gfxdraw.box</big></b><br><ul>
+  <i>draw a box</i><br>
+  <tt>pgyame.gfxdraw.box(surface, rect, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.box--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.line">
+<big><b>pygame.gfxdraw.line</big></b><br><ul>
+  <i>draw a line</i><br>
+  <tt>pgyame.gfxdraw.line(surface, x1, y1, x2, y2, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.line--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.circle">
+<big><b>pygame.gfxdraw.circle</big></b><br><ul>
+  <i>draw a circle</i><br>
+  <tt>pgyame.gfxdraw.circle(surface, x, y, r, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.circle--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.arc">
+<big><b>pygame.gfxdraw.arc</big></b><br><ul>
+  <i>draw an arc</i><br>
+  <tt>pgyame.gfxdraw.arc(surface, x, y, r, start, end, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.arc--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.aacircle">
+<big><b>pygame.gfxdraw.aacircle</big></b><br><ul>
+  <i>draw an anti-aliased circle</i><br>
+  <tt>pgyame.gfxdraw.aacircle(surface, x, y, r, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.aacircle--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.filled_circle">
+<big><b>pygame.gfxdraw.filled_circle</big></b><br><ul>
+  <i>draw a filled circle</i><br>
+  <tt>pgyame.gfxdraw.filled_circle(surface, x, y, r, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.filled_circle--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.ellipse">
+<big><b>pygame.gfxdraw.ellipse</big></b><br><ul>
+  <i>draw an ellipse</i><br>
+  <tt>pgyame.gfxdraw.ellipse(surface, x, y, rx, ry, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.ellipse--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.aaellipse">
+<big><b>pygame.gfxdraw.aaellipse</big></b><br><ul>
+  <i>draw an anti-aliased ellipse</i><br>
+  <tt>pgyame.gfxdraw.aaellipse(surface, x, y, rx, ry, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.aaellipse--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.filled_ellipse">
+<big><b>pygame.gfxdraw.filled_ellipse</big></b><br><ul>
+  <i>draw a filled ellipse</i><br>
+  <tt>pgyame.gfxdraw.filled_ellipse(surface, x, y, rx, ry, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.filled_ellipse--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.pie">
+<big><b>pygame.gfxdraw.pie</big></b><br><ul>
+  <i>draw a pie</i><br>
+  <tt>pgyame.gfxdraw.pie(surface, x, y, r, start, end, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.pie--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.trigon">
+<big><b>pygame.gfxdraw.trigon</big></b><br><ul>
+  <i>draw a triangle</i><br>
+  <tt>pgyame.gfxdraw.trigon(surface, x1, y1, x2, y2, x3, y3, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.trigon--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.aatrigon">
+<big><b>pygame.gfxdraw.aatrigon</big></b><br><ul>
+  <i>draw an anti-aliased triangle</i><br>
+  <tt>pgyame.gfxdraw.aatrigon(surface, x1, y1, x2, y2, x3, y3, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.aatrigon--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.filled_trigon">
+<big><b>pygame.gfxdraw.filled_trigon</big></b><br><ul>
+  <i>draw a filled trigon</i><br>
+  <tt>pgyame.gfxdraw.filled_trigon(surface, x1, y1, x3, y2, x3, y3, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.filled_trigon--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.polygon">
+<big><b>pygame.gfxdraw.polygon</big></b><br><ul>
+  <i>draw a polygon</i><br>
+  <tt>pgyame.gfxdraw.polygon(surface, points, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.polygon--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.aapolygon">
+<big><b>pygame.gfxdraw.aapolygon</big></b><br><ul>
+  <i>draw an anti-aliased polygon</i><br>
+  <tt>pgyame.gfxdraw.aapolygon(surface, points, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.aapolygon--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.filled_polygon">
+<big><b>pygame.gfxdraw.filled_polygon</big></b><br><ul>
+  <i>draw a filled polygon</i><br>
+  <tt>pgyame.gfxdraw.filled_polygon(surface, points, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.filled_polygon--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.textured_polygon">
+<big><b>pygame.gfxdraw.textured_polygon</big></b><br><ul>
+  <i>draw a textured polygon</i><br>
+  <tt>pgyame.gfxdraw.textured_polygon(surface, points, texture, tx, ty): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.textured_polygon--> &nbsp;<br> 
+<br></ul>
+
+
+<a name="pygame.gfxdraw.bezier">
+<big><b>pygame.gfxdraw.bezier</big></b><br><ul>
+  <i>draw a bezier curve</i><br>
+  <tt>pgyame.gfxdraw.bezier(surface, points, steps, color): return None</tt><br>
+ &nbsp;<br> 
+<!--COMMENTS:pygame.gfxdraw.bezier--> &nbsp;<br> 
+<br></ul>
+<br></ul>
+
+</body></html>

File docs/ref/image.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/index.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;
 <li><a href="pygame.html#pygame.get_error">pygame.get_error</a> - <font size=-1>get the current error message</font></li>
 <li><a href="pygame.html#pygame.get_sdl_byteorder">pygame.get_sdl_byteorder</a> - <font size=-1>get the byte order of SDL</font></li>
 <li><a href="pygame.html#pygame.get_sdl_version">pygame.get_sdl_version</a> - <font size=-1>get the version number of SDL</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw">pygame.gfxdraw</a> - <font size=-1>pygame module for drawing shapes</font></li>
+<ul>
+<li><a href="gfxdraw.html#pygame.gfxdraw.aacircle">pygame.gfxdraw.aacircle</a> - <font size=-1>draw an anti-aliased circle</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.aaellipse">pygame.gfxdraw.aaellipse</a> - <font size=-1>draw an anti-aliased ellipse</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.aapolygon">pygame.gfxdraw.aapolygon</a> - <font size=-1>draw an anti-aliased polygon</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.aatrigon">pygame.gfxdraw.aatrigon</a> - <font size=-1>draw an anti-aliased triangle</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.arc">pygame.gfxdraw.arc</a> - <font size=-1>draw an arc</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.bezier">pygame.gfxdraw.bezier</a> - <font size=-1>draw a bezier curve</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.box">pygame.gfxdraw.box</a> - <font size=-1>draw a box</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.circle">pygame.gfxdraw.circle</a> - <font size=-1>draw a circle</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.ellipse">pygame.gfxdraw.ellipse</a> - <font size=-1>draw an ellipse</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.filled_circle">pygame.gfxdraw.filled_circle</a> - <font size=-1>draw a filled circle</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.filled_ellipse">pygame.gfxdraw.filled_ellipse</a> - <font size=-1>draw a filled ellipse</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.filled_polygon">pygame.gfxdraw.filled_polygon</a> - <font size=-1>draw a filled polygon</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.filled_trigon">pygame.gfxdraw.filled_trigon</a> - <font size=-1>draw a filled trigon</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.hline">pygame.gfxdraw.hline</a> - <font size=-1>draw a horizontal line</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.line">pygame.gfxdraw.line</a> - <font size=-1>draw a line</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.pie">pygame.gfxdraw.pie</a> - <font size=-1>draw a pie</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.pixel">pygame.gfxdraw.pixel</a> - <font size=-1>place a pixel</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.polygon">pygame.gfxdraw.polygon</a> - <font size=-1>draw a polygon</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.rectangle">pygame.gfxdraw.rectangle</a> - <font size=-1>draw a rectangle</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.textured_polygon">pygame.gfxdraw.textured_polygon</a> - <font size=-1>draw a textured polygon</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.trigon">pygame.gfxdraw.trigon</a> - <font size=-1>draw a triangle</font></li>
+<li><a href="gfxdraw.html#pygame.gfxdraw.vline">pygame.gfxdraw.vline</a> - <font size=-1>draw a vertical line</font></li>
+</ul>
 <li><a href="image.html#pygame.image">pygame.image</a> - <font size=-1>pygame module for image transfer</font></li>
 <ul>
 <li><a href="image.html#pygame.image.frombuffer">pygame.image.frombuffer</a> - <font size=-1>create a new Surface that shares data inside a string buffer</font></li>

File docs/ref/joystick.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/key.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/locals.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/mask.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/midi.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/mixer.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/mouse.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/movie.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/music.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/overlay.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/pixelarray.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/pygame.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/rect.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/scrap.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/sndarray.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/sprite.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/surface.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/surfarray.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/tests.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/time.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File docs/ref/transform.html

 <a href="event.html">Event</a>&nbsp;||&nbsp;
 <a href="examples.html">Examples</a>&nbsp;||&nbsp;
 <a href="font.html">Font</a>&nbsp;||&nbsp;
+<a href="gfxdraw.html">Gfxdraw</a>&nbsp;||&nbsp;
 <a href="image.html">Image</a>&nbsp;||&nbsp;
 <a href="joystick.html">Joystick</a>&nbsp;||&nbsp;
 <a href="key.html">Key</a>&nbsp;||&nbsp;

File src/gfxdraw.doc

+pygame.gfxdraw
+pygame module for drawing shapes
+
+Wraps SDL_gfx primatives.
+
+Most of the functions accept a color argument that is an RGB triplet.
+These can also accept an RGBA quadruplet. The color argument can also be an
+integer pixel value that is already mapped to the Surface's pixel format.
+
+For all functions the arguments are strictly positional. Only integers are
+accepted for coordinates and radii.
+<SECTION>
+
+
+
+pixel
+place a pixel
+pygame.gfxdraw.pixel(surface, x, y, color): return None
+<END>
+
+
+
+hline
+draw a horizontal line
+pygame.gfxdraw.hline(surface, x1, x2, y, color): return None
+<END>
+
+
+
+vline
+draw a vertical line
+pgyame.gfxdraw.vline(surface, x, y1, y2, color): return None
+<END>
+
+
+
+rectangle
+draw a rectangle
+pgyame.gfxdraw.rectangle(surface, rect, color): return None
+<END>
+
+
+
+box
+draw a box
+pgyame.gfxdraw.box(surface, rect, color): return None
+<END>
+
+
+
+line
+draw a line
+pgyame.gfxdraw.line(surface, x1, y1, x2, y2, color): return None
+<END>
+
+
+
+circle
+draw a circle
+pgyame.gfxdraw.circle(surface, x, y, r, color): return None
+<END>
+
+
+
+arc
+draw an arc
+pgyame.gfxdraw.arc(surface, x, y, r, start, end, color): return None
+<END>
+
+
+
+aacircle
+draw an anti-aliased circle
+pgyame.gfxdraw.aacircle(surface, x, y, r, color): return None
+<END>
+
+
+
+filled_circle
+draw a filled circle
+pgyame.gfxdraw.filled_circle(surface, x, y, r, color): return None
+<END>
+
+
+
+ellipse
+draw an ellipse
+pgyame.gfxdraw.ellipse(surface, x, y, rx, ry, color): return None
+<END>
+
+
+
+aaellipse
+draw an anti-aliased ellipse
+pgyame.gfxdraw.aaellipse(surface, x, y, rx, ry, color): return None
+<END>
+
+
+
+filled_ellipse
+draw a filled ellipse
+pgyame.gfxdraw.filled_ellipse(surface, x, y, rx, ry, color): return None
+<END>
+
+
+
+pie
+draw a pie
+pgyame.gfxdraw.pie(surface, x, y, r, start, end, color): return None
+<END>
+
+
+
+trigon
+draw a triangle
+pgyame.gfxdraw.trigon(surface, x1, y1, x2, y2, x3, y3, color): return None
+<END>
+
+
+
+aatrigon
+draw an anti-aliased triangle
+pgyame.gfxdraw.aatrigon(surface, x1, y1, x2, y2, x3, y3, color): return None
+<END>
+
+
+
+filled_trigon
+draw a filled trigon
+pgyame.gfxdraw.filled_trigon(surface, x1, y1, x3, y2, x3, y3, color): return None
+<END>
+
+
+
+polygon
+draw a polygon
+pgyame.gfxdraw.polygon(surface, points, color): return None
+<END>
+
+
+
+aapolygon
+draw an anti-aliased polygon
+pgyame.gfxdraw.aapolygon(surface, points, color): return None
+<END>
+
+
+
+filled_polygon
+draw a filled polygon
+pgyame.gfxdraw.filled_polygon(surface, points, color): return None
+<END>
+
+
+
+textured_polygon
+draw a textured polygon
+pgyame.gfxdraw.textured_polygon(surface, points, texture, tx, ty): return None
+<END>
+
+
+
+bezier
+draw a bezier curve
+pgyame.gfxdraw.bezier(surface, points, steps, color): return None
+<END>
+<END>

File src/pygamedocs.h

 
 #define DOC_FONTGETDESCENT "Font.get_descent(): return int\nget the descent of the font"
 
+#define DOC_PYGAMEGFXDRAW "pygame module for drawing shapes"
+
+#define DOC_PYGAMEGFXDRAWPIXEL "pygame.gfxdraw.pixel(surface, x, y, color): return None\nplace a pixel"
+
+#define DOC_PYGAMEGFXDRAWHLINE "pygame.gfxdraw.hline(surface, x1, x2, y, color): return None\ndraw a horizontal line"
+
+#define DOC_PYGAMEGFXDRAWVLINE "pgyame.gfxdraw.vline(surface, x, y1, y2, color): return None\ndraw a vertical line"
+
+#define DOC_PYGAMEGFXDRAWRECTANGLE "pgyame.gfxdraw.rectangle(surface, rect, color): return None\ndraw a rectangle"
+
+#define DOC_PYGAMEGFXDRAWBOX "pgyame.gfxdraw.box(surface, rect, color): return None\ndraw a box"
+
+#define DOC_PYGAMEGFXDRAWLINE "pgyame.gfxdraw.line(surface, x1, y1, x2, y2, color): return None\ndraw a line"
+
+#define DOC_PYGAMEGFXDRAWCIRCLE "pgyame.gfxdraw.circle(surface, x, y, r, color): return None\ndraw a circle"
+
+#define DOC_PYGAMEGFXDRAWARC "pgyame.gfxdraw.arc(surface, x, y, r, start, end, color): return None\ndraw an arc"
+
+#define DOC_PYGAMEGFXDRAWAACIRCLE "pgyame.gfxdraw.aacircle(surface, x, y, r, color): return None\ndraw an anti-aliased circle"
+
+#define DOC_PYGAMEGFXDRAWFILLEDCIRCLE "pgyame.gfxdraw.filled_circle(surface, x, y, r, color): return None\ndraw a filled circle"
+
+#define DOC_PYGAMEGFXDRAWELLIPSE "pgyame.gfxdraw.ellipse(surface, x, y, rx, ry, color): return None\ndraw an ellipse"
+
+#define DOC_PYGAMEGFXDRAWAAELLIPSE "pgyame.gfxdraw.aaellipse(surface, x, y, rx, ry, color): return None\ndraw an anti-aliased ellipse"
+
+#define DOC_PYGAMEGFXDRAWFILLEDELLIPSE "pgyame.gfxdraw.filled_ellipse(surface, x, y, rx, ry, color): return None\ndraw a filled ellipse"
+
+#define DOC_PYGAMEGFXDRAWPIE "pgyame.gfxdraw.pie(surface, x, y, r, start, end, color): return None\ndraw a pie"
+
+#define DOC_PYGAMEGFXDRAWTRIGON "pgyame.gfxdraw.trigon(surface, x1, y1, x2, y2, x3, y3, color): return None\ndraw a triangle"
+
+#define DOC_PYGAMEGFXDRAWAATRIGON "pgyame.gfxdraw.aatrigon(surface, x1, y1, x2, y2, x3, y3, color): return None\ndraw an anti-aliased triangle"
+
+#define DOC_PYGAMEGFXDRAWFILLEDTRIGON "pgyame.gfxdraw.filled_trigon(surface, x1, y1, x3, y2, x3, y3, color): return None\ndraw a filled trigon"
+
+#define DOC_PYGAMEGFXDRAWPOLYGON "pgyame.gfxdraw.polygon(surface, points, color): return None\ndraw a polygon"
+
+#define DOC_PYGAMEGFXDRAWAAPOLYGON "pgyame.gfxdraw.aapolygon(surface, points, color): return None\ndraw an anti-aliased polygon"
+
+#define DOC_PYGAMEGFXDRAWFILLEDPOLYGON "pgyame.gfxdraw.filled_polygon(surface, points, color): return None\ndraw a filled polygon"
+
+#define DOC_PYGAMEGFXDRAWTEXTUREDPOLYGON "pgyame.gfxdraw.textured_polygon(surface, points, texture, tx, ty): return None\ndraw a textured polygon"
+
+#define DOC_PYGAMEGFXDRAWBEZIER "pgyame.gfxdraw.bezier(surface, points, steps, color): return None\ndraw a bezier curve"
+
 #define DOC_PYGAMEIMAGE "pygame module for image transfer"
 
 #define DOC_PYGAMEIMAGELOAD "pygame.image.load(filename): return Surface\npygame.image.load(fileobj, namehint=""): return Surface\nload new image from a file"
 
 
 
+pygame.gfxdraw
+ pygame module for drawing shapes
+
+
+
+pygame.gfxdraw.pixel
+ pygame.gfxdraw.pixel(surface, x, y, color): return None
+place a pixel
+
+
+
+pygame.gfxdraw.hline
+ pygame.gfxdraw.hline(surface, x1, x2, y, color): return None
+draw a horizontal line
+
+
+
+pygame.gfxdraw.vline
+ pgyame.gfxdraw.vline(surface, x, y1, y2, color): return None
+draw a vertical line
+
+
+
+pygame.gfxdraw.rectangle
+ pgyame.gfxdraw.rectangle(surface, rect, color): return None
+draw a rectangle
+
+
+
+pygame.gfxdraw.box
+ pgyame.gfxdraw.box(surface, rect, color): return None
+draw a box
+
+
+
+pygame.gfxdraw.line
+ pgyame.gfxdraw.line(surface, x1, y1, x2, y2, color): return None
+draw a line
+
+
+
+pygame.gfxdraw.circle
+ pgyame.gfxdraw.circle(surface, x, y, r, color): return None
+draw a circle
+
+
+
+pygame.gfxdraw.arc
+ pgyame.gfxdraw.arc(surface, x, y, r, start, end, color): return None
+draw an arc
+
+
+
+pygame.gfxdraw.aacircle
+ pgyame.gfxdraw.aacircle(surface, x, y, r, color): return None
+draw an anti-aliased circle
+
+
+
+pygame.gfxdraw.filled_circle
+ pgyame.gfxdraw.filled_circle(surface, x, y, r, color): return None
+draw a filled circle
+
+
+
+pygame.gfxdraw.ellipse
+ pgyame.gfxdraw.ellipse(surface, x, y, rx, ry, color): return None
+draw an ellipse
+
+
+
+pygame.gfxdraw.aaellipse
+ pgyame.gfxdraw.aaellipse(surface, x, y, rx, ry, color): return None
+draw an anti-aliased ellipse
+
+
+
+pygame.gfxdraw.filled_ellipse
+ pgyame.gfxdraw.filled_ellipse(surface, x, y, rx, ry, color): return None
+draw a filled ellipse
+
+
+
+pygame.gfxdraw.pie
+ pgyame.gfxdraw.pie(surface, x, y, r, start, end, color): return None
+draw a pie
+
+
+
+pygame.gfxdraw.trigon
+ pgyame.gfxdraw.trigon(surface, x1, y1, x2, y2, x3, y3, color): return None
+draw a triangle
+
+
+
+pygame.gfxdraw.aatrigon
+ pgyame.gfxdraw.aatrigon(surface, x1, y1, x2, y2, x3, y3, color): return None
+draw an anti-aliased triangle
+
+
+
+pygame.gfxdraw.filled_trigon
+ pgyame.gfxdraw.filled_trigon(surface, x1, y1, x3, y2, x3, y3, color): return None
+draw a filled trigon
+
+
+
+pygame.gfxdraw.polygon
+ pgyame.gfxdraw.polygon(surface, points, color): return None
+draw a polygon
+
+
+
+pygame.gfxdraw.aapolygon
+ pgyame.gfxdraw.aapolygon(surface, points, color): return None
+draw an anti-aliased polygon
+
+
+
+pygame.gfxdraw.filled_polygon
+ pgyame.gfxdraw.filled_polygon(surface, points, color): return None
+draw a filled polygon
+
+
+
+pygame.gfxdraw.textured_polygon
+ pgyame.gfxdraw.textured_polygon(surface, points, texture, tx, ty): return None
+draw a textured polygon
+
+
+
+pygame.gfxdraw.bezier
+ pgyame.gfxdraw.bezier(surface, points, steps, color): return None
+draw a bezier curve
+
+
+
 pygame.image
  pygame module for image transfer