use svg_fmt::Path;
pub use crate::svg_common::*;
impl<K> LinePlotter<K> for Path
where K: Into<f32> {
fn new() -> Self {
svg_fmt::path()
}
fn move_to(self, x: K, y: K) -> Self {
self.move_to(x.into(), y.into())
}
fn line_to(self, x: K, y: K) -> Self {
self.line_to(x.into(), y.into())
}
fn close(self) -> Self {
self.close()
}
}