Implement basic image rendering in iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2019-10-23 01:21:23 +02:00
parent f8a232c8af
commit 38b6c84e77
11 changed files with 543 additions and 10 deletions

View file

@ -19,4 +19,8 @@ pub enum Primitive {
background: Background,
border_radius: u16,
},
Image {
path: String,
bounds: Rectangle,
},
}