Source

pygame / src / doc / gfxdraw_doc.h

Full commit
/* Auto generated file: with makeref.py .  Docs go in src/ *.doc . */
#define DOC_PYGAMEGFXDRAW "pygame module for drawing shapes"

#define DOC_PYGAMEGFXDRAWPIXEL "pixel(surface, x, y, color) -> None\nplace a pixel"

#define DOC_PYGAMEGFXDRAWHLINE "hline(surface, x1, x2, y, color) -> None\ndraw a horizontal line"

#define DOC_PYGAMEGFXDRAWVLINE "vline(surface, x, y1, y2, color) -> None\ndraw a vertical line"

#define DOC_PYGAMEGFXDRAWRECTANGLE "rectangle(surface, rect, color) -> None\ndraw a rectangle"

#define DOC_PYGAMEGFXDRAWBOX "box(surface, rect, color) -> None\ndraw a box"

#define DOC_PYGAMEGFXDRAWLINE "line(surface, x1, y1, x2, y2, color) -> None\ndraw a line"

#define DOC_PYGAMEGFXDRAWCIRCLE "circle(surface, x, y, r, color) -> None\ndraw a circle"

#define DOC_PYGAMEGFXDRAWARC "arc(surface, x, y, r, start, end, color) -> None\ndraw an arc"

#define DOC_PYGAMEGFXDRAWAACIRCLE "aacircle(surface, x, y, r, color) -> None\ndraw an anti-aliased circle"

#define DOC_PYGAMEGFXDRAWFILLEDCIRCLE "filled_circle(surface, x, y, r, color) -> None\ndraw a filled circle"

#define DOC_PYGAMEGFXDRAWELLIPSE "ellipse(surface, x, y, rx, ry, color) -> None\ndraw an ellipse"

#define DOC_PYGAMEGFXDRAWAAELLIPSE "aaellipse(surface, x, y, rx, ry, color) -> None\ndraw an anti-aliased ellipse"

#define DOC_PYGAMEGFXDRAWFILLEDELLIPSE "filled_ellipse(surface, x, y, rx, ry, color) -> None\ndraw a filled ellipse"

#define DOC_PYGAMEGFXDRAWPIE "pie(surface, x, y, r, start, end, color) -> None\ndraw a pie"

#define DOC_PYGAMEGFXDRAWTRIGON "trigon(surface, x1, y1, x2, y2, x3, y3, color) -> None\ndraw a triangle"

#define DOC_PYGAMEGFXDRAWAATRIGON "aatrigon(surface, x1, y1, x2, y2, x3, y3, color) -> None\ndraw an anti-aliased triangle"

#define DOC_PYGAMEGFXDRAWFILLEDTRIGON "filled_trigon(surface, x1, y1, x2, y2, x3, y3, color) -> None\ndraw a filled trigon"

#define DOC_PYGAMEGFXDRAWPOLYGON "polygon(surface, points, color) -> None\ndraw a polygon"

#define DOC_PYGAMEGFXDRAWAAPOLYGON "aapolygon(surface, points, color) -> None\ndraw an anti-aliased polygon"

#define DOC_PYGAMEGFXDRAWFILLEDPOLYGON "filled_polygon(surface, points, color) -> None\ndraw a filled polygon"

#define DOC_PYGAMEGFXDRAWTEXTUREDPOLYGON "textured_polygon(surface, points, texture, tx, ty) -> None\ndraw a textured polygon"

#define DOC_PYGAMEGFXDRAWBEZIER "bezier(surface, points, steps, color) -> None\ndraw a bezier curve"



/* Docs in a comment... slightly easier to read. */

/*

pygame.gfxdraw
pygame module for drawing shapes

pygame.gfxdraw.pixel
 pixel(surface, x, y, color) -> None
place a pixel

pygame.gfxdraw.hline
 hline(surface, x1, x2, y, color) -> None
draw a horizontal line

pygame.gfxdraw.vline
 vline(surface, x, y1, y2, color) -> None
draw a vertical line

pygame.gfxdraw.rectangle
 rectangle(surface, rect, color) -> None
draw a rectangle

pygame.gfxdraw.box
 box(surface, rect, color) -> None
draw a box

pygame.gfxdraw.line
 line(surface, x1, y1, x2, y2, color) -> None
draw a line

pygame.gfxdraw.circle
 circle(surface, x, y, r, color) -> None
draw a circle

pygame.gfxdraw.arc
 arc(surface, x, y, r, start, end, color) -> None
draw an arc

pygame.gfxdraw.aacircle
 aacircle(surface, x, y, r, color) -> None
draw an anti-aliased circle

pygame.gfxdraw.filled_circle
 filled_circle(surface, x, y, r, color) -> None
draw a filled circle

pygame.gfxdraw.ellipse
 ellipse(surface, x, y, rx, ry, color) -> None
draw an ellipse

pygame.gfxdraw.aaellipse
 aaellipse(surface, x, y, rx, ry, color) -> None
draw an anti-aliased ellipse

pygame.gfxdraw.filled_ellipse
 filled_ellipse(surface, x, y, rx, ry, color) -> None
draw a filled ellipse

pygame.gfxdraw.pie
 pie(surface, x, y, r, start, end, color) -> None
draw a pie

pygame.gfxdraw.trigon
 trigon(surface, x1, y1, x2, y2, x3, y3, color) -> None
draw a triangle

pygame.gfxdraw.aatrigon
 aatrigon(surface, x1, y1, x2, y2, x3, y3, color) -> None
draw an anti-aliased triangle

pygame.gfxdraw.filled_trigon
 filled_trigon(surface, x1, y1, x2, y2, x3, y3, color) -> None
draw a filled trigon

pygame.gfxdraw.polygon
 polygon(surface, points, color) -> None
draw a polygon

pygame.gfxdraw.aapolygon
 aapolygon(surface, points, color) -> None
draw an anti-aliased polygon

pygame.gfxdraw.filled_polygon
 filled_polygon(surface, points, color) -> None
draw a filled polygon

pygame.gfxdraw.textured_polygon
 textured_polygon(surface, points, texture, tx, ty) -> None
draw a textured polygon

pygame.gfxdraw.bezier
 bezier(surface, points, steps, color) -> None
draw a bezier curve

*/