drawme 0.0.0

Static 2d rendering engine skia alternative
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::prelude::*;

mod circle;
pub use circle::*;

mod path;
pub use path::*;

pub trait Primitive<S>: Sized {
    fn with_style(self, style: S) -> Styled<Self, S> {
        Styled { shape: self, style }
    }
}