drawme 0.0.0

Static 2d rendering engine skia alternative
Documentation
#![doc = r#"
Draw anything, to anything


# Overview
`drawme` contains interfaces and types that enable developers to draw their types to
static, two-dimensional [`Canvas`]es.

Much of the design relies on SVG's specification, meaning that
it is up to the [`Canvas`] on how to handle the units.

If you want to scale, contract, clip, etc. the drawing does not care.

# `tiny_skia` vs `drawme`
TODO

## TODO
unit will always be f64,
it is up to the canvas on how to scale accordingly,
to define a bounding box, etc.

Drawings can calculate their total size


"#]

pub mod color;
#[macro_use]
mod macros;
pub mod canvas;
pub mod drawable;
pub mod image;
pub mod placement;
pub mod primitives;
pub mod style;
pub mod text;

pub mod prelude {
    #[cfg(feature = "svg")]
    pub use crate::canvas::svg::*;
    pub use crate::canvas::*;
    pub use crate::color::{defaults::*, *};
    pub use crate::drawable::*;
    pub use crate::image::*;
    pub use crate::placement::*;
    pub use crate::primitives::*;
    pub use crate::style::*;
    pub use crate::text::font::*;
    pub use crate::text::*;
}