Make iced_tiny_skia optional with a tiny-skia feature
This commit is contained in:
parent
bbafeed13d
commit
1f13a91361
20 changed files with 157 additions and 91 deletions
|
|
@ -5,6 +5,7 @@ use crate::graphics::backend;
|
|||
use crate::graphics::text;
|
||||
use crate::graphics::{Damage, Viewport};
|
||||
use crate::primitive::{self, Primitive};
|
||||
use crate::window;
|
||||
|
||||
use std::borrow::Cow;
|
||||
|
||||
|
|
@ -990,6 +991,8 @@ fn rounded_box_sdf(
|
|||
}
|
||||
|
||||
impl iced_graphics::Backend for Backend {
|
||||
type Compositor = window::Compositor;
|
||||
|
||||
type Primitive = primitive::Custom;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue