summaryrefslogtreecommitdiffstats
path: root/cairo-renderer/src/drawing/mod.rs
blob: 1c32fb1c81c4f9a14a2847b46ffd7a49bdd34009 (plain)
1
2
3
4
5
6
7
8
pub mod cairo;

use crate::core::{shapes::Shape as CoreShape, types::DefinitelyBounded};

pub trait Engine {
    fn new() -> Self;
    fn draw(&mut self, shape: &DefinitelyBounded<CoreShape>);
}