mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
style(text): format area.rs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4fda152dbd
commit
14b90ddd88
1 file changed
+3
-5
@@ -375,11 +375,9 @@ mod tests {
|
||||
fn curves_are_flattened() {
|
||||
// A circle of radius 50 centred on (50, 50) from four kappa curves.
|
||||
let k = 0.552_284_75 * 50.0;
|
||||
let c = |x: f64, y: f64, ix: f64, iy: f64, ox: f64, oy: f64| Knot::smooth(
|
||||
photocraft_geom::Point::new(x, y),
|
||||
photocraft_geom::Point::new(ix, iy),
|
||||
photocraft_geom::Point::new(ox, oy),
|
||||
);
|
||||
let c = |x: f64, y: f64, ix: f64, iy: f64, ox: f64, oy: f64| {
|
||||
Knot::smooth(photocraft_geom::Point::new(x, y), photocraft_geom::Point::new(ix, iy), photocraft_geom::Point::new(ox, oy))
|
||||
};
|
||||
let circle = Subpath {
|
||||
closed: true,
|
||||
knots: vec![
|
||||
|
||||
Reference in new issue
Block a user