Struct vectorphile::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, F: 'static, I1, I2>(
&mut self,
additive: I1,
subtractive: I2,
options: DrawOptions
) -> Result<(), T::Error> where
I1: IntoIterator<Item = &'a [(F, F)]>,
I2: IntoIterator<Item = &'a [(F, F)]>,
F: Into<f64> + Clone + Copy,
&mut self,
additive: I1,
subtractive: I2,
options: DrawOptions
) -> Result<(), T::Error> where
I1: IntoIterator<Item = &'a [(F, F)]>,
I2: IntoIterator<Item = &'a [(F, F)]>,
F: Into<f64> + Clone + Copy,