Trait Paint
nanovg
pub trait Paint { fn fill(&self, context: &Context); fn stroke(&self, context: &Context); }
fn fill(&self, context: &Context)
fn stroke(&self, context: &Context)
impl Paint for Color
impl Paint for Gradient
impl<'a> Paint for ImagePattern<'a>