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
26
27
28
29
30
31
//! A module to draw 2D graphics in a window
//!  It also includes image loading

mod animation;
mod atlas;
mod backend;
mod color;
mod drawable;
#[cfg(feature="fonts")] mod font;
mod image;
mod resize;
mod surface;
mod vertex;
mod view;
mod window;

pub use self::{
    animation::Animation,
    atlas::{Atlas, AtlasError, AtlasItem, AtlasLoader},
    backend::BlendMode,
    color::Color,
    drawable::{Draw, Drawable},
    image::{Image, ImageError, ImageLoader, PixelFormat},
    resize::ResizeStrategy,
    surface::Surface,
    vertex::{Vertex, GpuTriangle},
    view::View,
    window::{ImageScaleStrategy, Window, WindowBuilder}
};
#[cfg(feature="fonts")] pub use self::font::{Font, FontLoader};
pub(crate) use self::backend::Backend;