-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
RoundedRectangle #79
Comments
It would be better to have a function to draw rounded rectangle without filling with color. |
I'm happy for this to be added :) The most efficient way to draw it is to:
Yeah, this would also be good to add at some point. I think it would need changes to the shader though (so that circles have an "inner" radius in addition to the "outer" radius). |
Ok, working on it |
#81, might have messed up some trait bounds, especially when using the magnitude |
Would it be ok if I wrote a RoundedRectangle struct parallel to the normal Rectangle?
I would draw it by drawing 2 rectangles in a "cross" and then 4 circles in the corner
The text was updated successfully, but these errors were encountered: