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

Corrects the circle() description #7110

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Conversation

JulioGitLab
Copy link
Contributor

Changes:

This clarifies that each point on the edge of the circle is half its diameter.

PR Checklist

This clarifies that each point on the edge of the circle is half its diameter
* its position.
* A circle is a round shape defined by the `x`, `y`, and `d` parameters.
* `x` and `y` set the location of its center. `d` sets its width and height (diameter).
* Every point on the circle's edge is half the distance, `d`, from its center (radius = diameter/2).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @JulioGitLab! What do you think about the following?

Every point on the circle's edge is the same distance, 0.5 * d, from its center. 0.5 * d (half the diameter) is the circle's radius.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nickmcintyre! I think your way of explaining it is easier to understand. Let's use it!

The description of circle() was updated to one that is easier to understand
Copy link
Member

@nickmcintyre nickmcintyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@Qianqianye Qianqianye merged commit 51e9760 into processing:main Jul 3, 2024
2 checks passed
@Qianqianye
Copy link
Contributor

Thank you both! @JulioGitLab @nickmcintyre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants