Introduce first-class svg module in iced_native

This commit is contained in:
Héctor Ramón Jiménez 2021-10-31 16:24:31 +07:00
parent c4186a71b7
commit 9a3c81f336
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
11 changed files with 106 additions and 98 deletions

View file

@ -1,9 +1,10 @@
//! Display vector graphics in your application.
use crate::backend::{self, Backend};
use crate::{Primitive, Rectangle, Renderer};
use iced_native::widget::svg;
use iced_native::svg;
pub use iced_native::widget::svg::{Handle, Svg};
pub use iced_native::widget::svg::Svg;
pub use svg::Handle;
impl<B> svg::Renderer for Renderer<B>
where