#![no_std]
#![allow(dead_code)]
#[cfg(feature = "alloc")]
extern crate alloc;
pub mod buffer;
pub mod color;
pub mod damage;
pub mod display;
pub mod geometry;
pub mod input;
pub mod render;
pub mod text;
pub mod window;
pub mod prelude {
pub use crate::geometry::{
Circle, Ellipse, Insets, Line, LineF, Point, PointF, Rect, RectF, RoundedRect, Size, SizeF,
Transform2D,
};
pub use crate::color::{AlphaMode, BlendMode, Color, ColorF, PixelFormat};
pub use crate::buffer::{BufferDescriptor, BufferHandle, BufferUsage};
pub use crate::display::DisplayInfo;
pub use crate::window::{LayerType, WindowFlags, WindowState, WindowType};
pub use crate::damage::DamageRegion;
pub use crate::text::{FontStyle, FontWeight, TextAlign};
}
pub use geometry::{
Circle, Ellipse, Insets, Line, LineF, Point, PointF, Rect, RectF, RoundedRect, Size, SizeF,
Transform2D,
};
pub use color::{AlphaMode, BlendMode, Color, ColorF, PixelFormat};
pub use buffer::{BufferDescriptor, BufferHandle, BufferRegion, BufferUsage};
pub use display::{DisplayInfo, DisplayMode, VsyncMode};
pub use window::{LayerType, WindowEffects, WindowFlags, WindowState, WindowType};
pub use damage::DamageRegion;
pub use input::{CursorHotspot, CursorType};
pub use text::{FontStyle, FontWeight, GlyphId, GlyphMetrics, TextAlign, TextBaseline};