-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add 1D rectangle resizing #710
Conversation
Oops, I just noticed I didn't used the names we had decided to use in #703. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just some minor nits and comment suggestions.
Co-authored-by: James Waples <[email protected]>
Thanks for the suggestions to improve the docs, I've applied all of them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go!
This PR adds
Rectangle::resized_x
andRectangle::resized_y
to resize rectangles in one dimension. Some support types and methods are also added.