开发者

pygame.gfxdraw.aacircle gows funny for big circles, any alternatives?

开发者 https://www.devze.com 2023-02-11 15:26 出处:网络
Working on my Major project for software design and development and have run into the hurdle that when using pygame.gfxdraw.aacircle to draw big circles, the output goes screwy as seen here

Working on my Major project for software design and development and have run into the hurdle that when using pygame.gfxdraw.aacircle to draw big circles, the output goes screwy as seen here

pygame.gfxdraw.aacircle gows funny for big circles, any alternatives?

the window in the picture is showing a section of a circle with a radius of size 1561

开发者_运维知识库

if no-one can suggest a fix or alternate way of drawing aa circles i will probably just use the regular circle function as it doesn't look to bad at sch a large radius.


I would suggest not to use pygame.gfxdraw, since it is clearly marked as experimental.

From the documentation:

EXPERIMENTAL!: meaning this api may change, or dissapear in later pygame releases. If you use this, your code will break with the next pygame release.

Just stick with the regular circle function.

EDIT:

Maybe you should open a bugreport on the pygame bugtracker or the pygame mailinglist.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号