Implemented a texture atlas for images and svgs.
This commit is contained in:
parent
69c81aa50d
commit
1bcfc9a5cc
7 changed files with 474 additions and 209 deletions
|
|
@ -18,7 +18,7 @@ use std::{
|
|||
/// ```
|
||||
///
|
||||
/// <img src="https://github.com/hecrj/iced/blob/9712b319bb7a32848001b96bd84977430f14b623/examples/resources/ferris.png?raw=true" width="300">
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Hash)]
|
||||
pub struct Image {
|
||||
handle: Handle,
|
||||
width: Length,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue