Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pygame.draw.circles() function #1835

Closed
wants to merge 1 commit into from

Conversation

itzpr3d4t0r
Copy link
Member

@itzpr3d4t0r itzpr3d4t0r commented Feb 13, 2023

This PR introduces a new draw function called circles, which allows for drawing multiple circles with various colors, center points, radii, and thicknesses on a given surface. This function fills the gap that existed before in Pygame, where there was no single function available to draw multiple circles on a surface, and people had to use for loops to draw each circle individually, while also loosing performance in the process.

@MyreMylar MyreMylar closed this Feb 13, 2023
@MyreMylar MyreMylar reopened this Feb 13, 2023
@MightyJosip MightyJosip changed the title Surface.draw_circles() function pygame.draw.circles() function Feb 14, 2023
@MightyJosip MightyJosip added New API This pull request may need extra debate as it adds a new class or function to pygame draw pygame.draw labels Feb 14, 2023
@itzpr3d4t0r itzpr3d4t0r marked this pull request as draft February 14, 2023 14:09
@itzpr3d4t0r itzpr3d4t0r closed this Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draw pygame.draw New API This pull request may need extra debate as it adds a new class or function to pygame
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants