summaryrefslogtreecommitdiffstats
path: root/renderer/src/lib.rs
blob: aae3322d418adc4d75e4515f303fb5097c46e92a (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
pub mod window;

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

mod backend;
mod settings;

pub use iced_graphics::primitive;

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

pub use iced_graphics::{
    Antialiasing, Color, Error, Font, Point, Rectangle, Size, Vector, Viewport,
};

/// The default graphics renderer for [`iced`].
///
/// [`iced`]: https://github.com/iced-rs/iced
pub type Renderer<Theme = iced_native::Theme> =
    iced_graphics::Renderer<Backend, Theme>;