Struct vectordraw::Canvas
[−]
[src]
pub struct Canvas<T> { /* fields omitted */ }
Methods
impl<T: DrawBackend> Canvas<T>
[src]
fn new(t: T) -> Canvas<T>
fn draw_closed_polygon(
&mut self,
points: &[(f64, f64)],
options: DrawOptions
) -> Result<(), T::Error>
&mut self,
points: &[(f64, f64)],
options: DrawOptions
) -> Result<(), T::Error>
fn draw_holy_polygon<'a, I1, I2>(
&mut self,
additive: I1,
subtractive: I2,
options: DrawOptions
) -> Result<(), T::Error> where
I1: IntoIterator<Item = &'a [(f64, f64)]>,
I2: IntoIterator<Item = &'a [(f64, f64)]>,
&mut self,
additive: I1,
subtractive: I2,
options: DrawOptions
) -> Result<(), T::Error> where
I1: IntoIterator<Item = &'a [(f64, f64)]>,
I2: IntoIterator<Item = &'a [(f64, f64)]>,