linebender / kurbo

A Rust library for manipulating curves
Apache License 2.0
697 stars 67 forks source link

Add From (f32, f32) for Point #339

Closed rsheeter closed 6 months ago

rsheeter commented 6 months ago

When building a BezPath from a source that provides f32, such as https://docs.rs/skrifa/latest/skrifa/outline/trait.OutlinePen.html, it would be nice to be able to pass (f32, f32) as Into<Point>