summaryrefslogtreecommitdiffstats
path: root/tiny_skia/src/lib.rs
blob: e66e6412fabc176efbfc7dda2be373a3ea5dd493 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pub mod window;

mod backend;
mod settings;
mod text;

#[cfg(feature = "canvas")]
pub mod canvas;

pub use iced_graphics::primitive;

pub use backend::Backend;
pub use primitive::Primitive;
pub use settings::Settings;

pub use iced_graphics::{
    Color, Error, Font, Point, Rectangle, 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>;