summaryrefslogtreecommitdiffstats
path: root/tiny_skia/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tiny_skia/src/lib.rs')
-rw-r--r--tiny_skia/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/tiny_skia/src/lib.rs b/tiny_skia/src/lib.rs
new file mode 100644
index 00000000..fce44e9e
--- /dev/null
+++ b/tiny_skia/src/lib.rs
@@ -0,0 +1,16 @@
+pub mod window;
+
+mod backend;
+mod settings;
+
+pub use backend::Backend;
+pub use settings::Settings;
+
+pub use iced_graphics::{Color, Error, Font, Point, Size, Vector, Viewport};
+
+/// A [`tiny-skia`] graphics renderer for [`iced`].
+///
+/// [`tiny-skia`]: https://github.com/RazrFalcon/tiny-skia
+/// [`iced`]: https://github.com/iced-rs/iced
+pub type Renderer<Theme = iced_native::Theme> =
+ iced_graphics::Renderer<Backend, Theme>;