Implement Canvas support for iced_tiny_skia

This commit is contained in:
Héctor Ramón Jiménez 2023-03-01 21:34:26 +01:00
parent 3f6e28fa9b
commit 5fd5d1cdf8
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
65 changed files with 1354 additions and 570 deletions

View file

@ -25,7 +25,7 @@
)]
#![deny(
missing_debug_implementations,
missing_docs,
//missing_docs,
unsafe_code,
unused_results,
clippy::extra_unused_lifetimes,
@ -38,7 +38,9 @@
#![allow(clippy::inherent_to_string, clippy::type_complexity)]
#![cfg_attr(docsrs, feature(doc_cfg))]
pub mod layer;
pub mod settings;
pub mod widget;
pub mod window;
mod backend;
@ -47,16 +49,23 @@ mod quad;
mod text;
mod triangle;
pub use iced_graphics::primitive;
pub use iced_graphics::{
Antialiasing, Color, Error, Font, Primitive, Viewport,
Antialiasing, Color, Error, Font, Gradient, Point, Rectangle, Size, Vector,
Viewport,
};
pub use iced_native::alignment;
pub use iced_native::Theme;
pub use wgpu;
pub use backend::Backend;
pub use layer::Layer;
pub use primitive::Primitive;
pub use settings::Settings;
use crate::buffer::Buffer;
use buffer::Buffer;
use iced_graphics::Transformation;
#[cfg(any(feature = "image", feature = "svg"))]