-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Deprecating gfxdraw module #3005
Comments
Hello, First of all, thank you for the list. IMO, |
Ok, removing |
Idea for draw.aapolygon:
Why this: |
that's how I replaced it in my shim |
and this on Ubuntu :
Update : what I found while debugging :
|
I think that def aapolygon(..., filled: bool = False):
if filled:
pygame.draw.polygon(..., filled=True)
... |
aapolygon will be added in #3126 Notice those pixels not being antialiased at some places. That is because Here, red line is midline, outer is Same thing is happening when using |
These functions must be implemented to
pygame.draw
module in order to deprecatepygame.gfxdraw
module:gfxdraw
module todraw
module #3009gfxdraw
but keep the functionality #3010 (deprecation warning + notice in the docs)gfxdraw can be deprecated after implementing all above listed functions and it gets removed in pygame-ce 3 or later.
Deprecating gfxdraw closes:
The text was updated successfully, but these errors were encountered: