-
Hi, I've looked through the examples, but did not find a way to display a svg. Is it possible ? This what I tried : Main.rs
Cargo.toml
This is the Svg image : The program works, but the image does not appear. I'm running it on Ubuntu 20.04 64 bit, with Wayland driver. Regards |
Beta Was this translation helpful? Give feedback.
Answered by
tronical
Jan 19, 2022
Replies: 1 comment 1 reply
-
Hi @loloof64 ! I tried your example and the SVG shows for me. This is the directory structure I'm using: .
├── Cargo.lock
├── Cargo.toml
├── images
│ └── Chess_ndt45.svg
└── src
└── main.rs
2 directories, 4 files Note that the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tronical
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @loloof64 ! I tried your example and the SVG shows for me.
This is the directory structure I'm using:
. ├── Cargo.lock ├── Cargo.toml ├── images │ └── Chess_ndt45.svg └── src └── main.rs 2 directories, 4 files
Note that the
images
folder is relative to whereCargo.toml
is located.