Skip to content

Commit

Permalink
Support click and drag for svgs, as well as scene fragment caching (#244
Browse files Browse the repository at this point in the history
)

* Support caching the image, and click and drag motion

* Remove debug print

* Clean up examples to have command line parsing

* Address review comments
  • Loading branch information
DJMcNab authored Jan 13, 2023
1 parent 02d8b28 commit eec111c
Show file tree
Hide file tree
Showing 5 changed files with 286 additions and 30 deletions.
148 changes: 147 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions examples/with_winit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "with_winit"
description = "An example using vello to render to a winit window"
version.workspace = true
edition.workspace = true
publish = false
Expand All @@ -13,6 +14,7 @@ winit = "0.27.5"
pollster = "0.2.5"
# for picosvg
roxmltree = "0.13"
clap = { version = "4.1.0", features = ["derive"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
Expand Down
Loading

0 comments on commit eec111c

Please sign in to comment.