Add image/svg support to iced_glow

https://github.com/iced-rs/iced/issues/674

Uses image/svg support in `iced_graphics`. The is not currently using an
atlas, and uses one texture/draw per image. This should be good enough
for now; supporting images with glow is better than not supporting them,
and if something else performs better, that improvement can be made
without any change to the public API.
This commit is contained in:
Ian Douglas Scott 2022-10-24 17:06:02 -07:00 committed by Héctor Ramón Jiménez
parent 2c7c42ee93
commit 5575e6ea08
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 368 additions and 8 deletions

View file

@ -24,6 +24,8 @@
pub use glow;
mod backend;
#[cfg(any(feature = "image_rs", feature = "svg"))]
mod image;
mod program;
mod quad;
mod text;