diff --git a/runebender-lib/src/widgets/toolbar.rs b/runebender-lib/src/widgets/toolbar.rs index b8bcee3..dae57eb 100644 --- a/runebender-lib/src/widgets/toolbar.rs +++ b/runebender-lib/src/widgets/toolbar.rs @@ -325,31 +325,33 @@ fn pen_path() -> BezPath { fn hyperpen_path() -> BezPath { let mut bez = BezPath::new(); - bez.move_to((40.0, 500.0)); - bez.line_to((240.0, 500.0)); - bez.line_to((240.0, 320.0)); - bez.line_to((40.0, 320.0)); - bez.line_to((40.0, 500.0)); + bez.move_to((500.0, 250.0)); + bez.curve_to((500.0, 196.0), (350.0, 160.0), (250.0, 160.0)); + bez.curve_to((150.0, 160.0), (0.0, 193.0), (0.0, 250.0)); + bez.curve_to((0.0, 308.0), (150.0, 340.0), (250.0, 340.0)); + bez.curve_to((350.0, 340.0), (500.0, 298.0), (500.0, 250.0)); bez.close_path(); - bez.move_to((40.0, 320.0)); - bez.line_to((240.0, 320.0)); - bez.curve_to((260.0, 300.0), (280.0, 280.0), (280.0, 240.0)); - bez.curve_to((280.0, 190.0), (210.0, 130.0), (210.0, 90.0)); - bez.curve_to((210.0, 30.0), (180.0, 0.0), (140.0, 0.0)); - bez.curve_to((100.0, 0.0), (70.0, 30.0), (70.0, 90.0)); - bez.curve_to((70.0, 130.0), (0.0, 190.0), (0.0, 240.0)); - bez.curve_to((0.0, 280.0), (20.0, 300.0), (40.0, 320.0)); + bez.move_to((500.0, 250.0)); + bez.curve_to((500.0, 107.0), (387.0, 0.0), (250.0, 0.0)); + bez.curve_to((112.0, 0.0), (0.0, 113.0), (0.0, 250.0)); + bez.curve_to((0.0, 388.0), (112.0, 500.0), (249.0, 500.0)); + bez.curve_to((387.0, 500.0), (500.0, 387.0), (500.0, 250.0)); bez.close_path(); - bez.move_to((100.0, 470.0)); - bez.line_to((100.0, 350.0)); - - bez.move_to((100.0, 405.0)); - bez.line_to((180.0, 405.0)); + bez.move_to((410.0, 400.0)); + bez.curve_to((410.0, 280.0), (230.0, 30.0), (160.0, 30.0)); + bez.curve_to((110.0, 30.0), (90.0, 60.0), (90.0, 100.0)); + bez.curve_to((90.0, 220.0), (270.0, 470.0), (340.0, 470.0)); + bez.curve_to((390.0, 470.0), (410.0, 440.0), (410.0, 400.0)); + bez.close_path(); - bez.move_to((180.0, 470.0)); - bez.line_to((180.0, 350.0)); + bez.move_to((410.0, 100.0)); + bez.curve_to((410.0, 60.0), (390.0, 30.0), (340.0, 30.0)); + bez.curve_to((270.0, 30.0), (90.0, 280.0), (90.0, 400.0)); + bez.curve_to((90.0, 440.0), (110.0, 470.0), (160.0, 470.0)); + bez.curve_to((230.0, 470.0), (410.0, 220.0), (410.0, 100.0)); + bez.close_path(); bez }