mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Automatically generate screenshots for all examples (#2379)
This commit is contained in:
@@ -9,5 +9,7 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../crates/eframe" }
|
||||
eframe = { path = "../../crates/eframe", features = [
|
||||
"__screenshot", # __screenshot is so we can dump a ascreenshot using EFRAME_SCREENSHOT_TO
|
||||
] }
|
||||
egui_extras = { path = "../../crates/egui_extras", features = ["svg"] }
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
Example how to show an SVG image.
|
||||
|
||||
|
||||
```sh
|
||||
cargo run -p svg
|
||||
```
|
||||
|
||||

|
||||
|
||||
BIN
examples/svg/screenshot.png
Normal file
BIN
examples/svg/screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
Reference in New Issue
Block a user