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

Path2d and Shape2d additions: basic shapes and commands. #2325

Merged
merged 5 commits into from
Feb 1, 2024

Conversation

paulhoux
Copy link
Collaborator

@paulhoux paulhoux commented Jan 2, 2024

In preparation of path rendering, these additions will make it much easier to define paths and shapes from code.

@paulhoux paulhoux requested a review from andrewfb January 2, 2024 13:05
@paulhoux paulhoux self-assigned this Jan 2, 2024
@andrewfb andrewfb merged commit a70e977 into cinder:master Feb 1, 2024
paulhoux added a commit to Unispace365/Cinder that referenced this pull request Feb 28, 2025
* Added convenience functions to Path2d and Shape2d, allowing easy creation of several shapes and smooth curves.

* Added relative functions to Path2d and refactored things.

* Closed the rounded rectangle in Path2d.

* Tweaked the Path2d::spiral to get rid of a wobble.

* Path2d::angleHelper() is now an anonymous namespace function.

---------

Co-authored-by: paulhoux <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants