Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

9
Question about pygame.draw.circle() documentation
Post Body

Hello,

I am trying to draw some circles in pygame, which should be simple enough. I am trying to parse the circle center as a (Float, Float), but pygame is rejecting this. I get errors telling me it wants Ints as coordinates, not Floats.

What confuses me is that the documentation clearly states that pygame.draw.circle() can take Floats as parameter for the circle center. Other methods such as pygame.draw.line() can take Floats for their coordinates, as I have already got that in without errors.

Does anybody know if it is a mistake on Pygame's part, or am I misinterpreting the docs?

Link to the aforementioned docs

Thank you for your time!

Edit: It has been fixed, my pip and pygame we're slightly out of date.

Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
51,491
Link Karma
15,374
Comment Karma
35,050
Profile updated: 4 days ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago