summaryrefslogtreecommitdiffstats
path: root/examples/svg
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-21 15:12:27 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-21 15:20:05 +0100
commitb0cf47cc2b736080d25a6fe48d17ef5086d6a39a (patch)
tree14e343816af52ee12635fcfec9046e9086519523 /examples/svg
parent9758c121764a6e8e5a45b8a66915127b31e61df7 (diff)
downloadiced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.tar.gz
iced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.tar.bz2
iced-b0cf47cc2b736080d25a6fe48d17ef5086d6a39a.zip
Create `README` files for all the examples
Diffstat (limited to 'examples/svg')
-rw-r--r--examples/svg/README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/svg/README.md b/examples/svg/README.md
new file mode 100644
index 00000000..9f53c177
--- /dev/null
+++ b/examples/svg/README.md
@@ -0,0 +1,17 @@
+## SVG
+
+An application that renders the [Ghostscript Tiger] by leveraging the `Svg` widget.
+
+The __[`main`]__ file contains all the code of the example.
+
+<div align="center">
+ <img src="resources/tiger.svg">
+</div>
+
+You can run it with `cargo run`:
+```
+cargo run --package svg
+```
+
+[`main`]: src/main.rs
+[Ghostscript Tiger]: https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg