Implemented a texture atlas for images and svgs.

This commit is contained in:
Malte Veerman 2020-01-10 14:39:29 +01:00 committed by Héctor Ramón Jiménez
parent 69c81aa50d
commit 1bcfc9a5cc
7 changed files with 474 additions and 209 deletions

View file

@ -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,