-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Bezier curve #1155
Bezier curve #1155
Conversation
8b31c01
to
4e71905
Compare
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.
Thank you - this looks really good! But needs some polish :)
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.
You need to run cargo fmt
and then silence a few clippy warnings, then LGTM! Awesome work!
} | ||
painter.extend(shapes); | ||
|
||
if self.points.len()>0{ |
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.
Hot tip: configure your editor to run cargo fmt
on each save. It is a life-changer :)
Closes #1120.
Shape::CubicBezier(CubicBezierShape)
andShape::QuadraticBezier(QuadraticBezierShape)
bezier_flattern_tolerence
in TessellationOptionspaint_bezier
in demo app.