From 4b8ae71b6311f0e4906e445f099a3fdaf4623212 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 10 Jul 2022 15:15:29 +0200 Subject: Add and purify `arc` example by @ThatsNoMoon --- examples/pure/arc/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/pure/arc/README.md (limited to 'examples/pure/arc/README.md') diff --git a/examples/pure/arc/README.md b/examples/pure/arc/README.md new file mode 100644 index 00000000..4cf99efb --- /dev/null +++ b/examples/pure/arc/README.md @@ -0,0 +1,14 @@ +## arc_to + +An application that uses the `Canvas` widget to draw a rotating arc. + +This is a simple demo for https://github.com/iced-rs/iced/pull/1358. + +The __[`main`]__ file contains all the code of the example. + +You can run it with `cargo run`: +``` +cargo run --package arc_to +``` + +[`main`]: src/main.rs -- cgit From 1454bcda4cf37f5d92c6034800eae2fc0aeb88ec Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 10 Jul 2022 15:18:06 +0200 Subject: Fix `README` or `arc` example --- examples/pure/arc/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/pure/arc/README.md') diff --git a/examples/pure/arc/README.md b/examples/pure/arc/README.md index 4cf99efb..303253da 100644 --- a/examples/pure/arc/README.md +++ b/examples/pure/arc/README.md @@ -1,4 +1,4 @@ -## arc_to +## Arc An application that uses the `Canvas` widget to draw a rotating arc. @@ -8,7 +8,7 @@ The __[`main`]__ file contains all the code of the example. You can run it with `cargo run`: ``` -cargo run --package arc_to +cargo run --package arc ``` [`main`]: src/main.rs -- cgit