from pygame.gfxdraw import (aacircle, filled_circle, aatrigon, filled_trigon, aapolygon, filled_polygon) def aa_filled_circle(surface, cx, cy, radius, color): aacircle(surface, cx, cy, radius, color) filled_circle(surface, cx, cy, radius, color) def aa_filled_trigon(surface, x1, y1, x2, y2, x3, y3, color): aatrigon(surface, x1, y1, x2, y2, x3, y3, color) filled_trigon(surface, x1, y1, x2, y2, x3, y3, color) def aa_filled_polygon(surface, points, color): aapolygon(surface, points, color) filled_polygon(surface, points, color)