aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 76b35c9d3e40bbd9df09978f49d9871e0af31da6 (plain)
1
2
3
4
5
6
7
8
9
use color::Color;

pub mod color;
pub mod transform;
pub mod pattern;

pub trait Sample {
    fn sample(&mut self, x: f64, y: f64) -> Color;
}