Add canvas feature to iced_wgpu
And prepare `canvas` module
This commit is contained in:
parent
3a00f3398c
commit
8daf798e57
4 changed files with 27 additions and 3 deletions
5
wgpu/src/widget/canvas.rs
Normal file
5
wgpu/src/widget/canvas.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
//! Draw freely in 2D.
|
||||
|
||||
/// A 2D drawable region.
|
||||
#[derive(Debug)]
|
||||
pub struct Canvas;
|
||||
Loading…
Add table
Add a link
Reference in a new issue