-
Notifications
You must be signed in to change notification settings - Fork 944
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Path2d and Shape2d additions: basic shapes and commands. (#2325)
* 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]>
- Loading branch information
Showing
4 changed files
with
586 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.