···
1
1
-
use crate::{Angle, Point, Fill, Filter, Region, Transformation};
1
1
+
use crate::{Angle, Fill, Filter, Point, Region, Transformation};
2
2
use anyhow::anyhow;
3
3
use itertools::Itertools;
4
4
use std::fmt::Display;
···
303
303
}
304
304
Object::Line(Point(x1, y1), Point(x2, y2), _)
305
305
| Object::CurveInward(Point(x1, y1), Point(x2, y2), _)
306
306
-
| Object::CurveOutward(Point(x1, y1), Point(x2, y2), _) =>
307
307
-
{
306
306
+
| Object::CurveOutward(Point(x1, y1), Point(x2, y2), _) => {
308
307
let region = Region::new(
309
308
(x1.min(x2), y1.min(y2)),
310
309
(x1.max(x2), y1.max(y2)),
···
2
2
use measure_time::debug_time;
3
3
4
4
use crate::{
5
5
-
ColoredObject, Object, graphics::objects::{LineSegment, ObjectSizes}
5
5
+
ColoredObject, Object,
6
6
+
graphics::objects::{LineSegment, ObjectSizes},
6
7
};
7
8
8
9
use super::{