Searched refs:SvgWriter (Results 1 – 1 of 1) sorted by relevance
83 let mut writer = HtmlEscapeWriter::new(SvgWriter::new(&mut buffer)); in main()241 pub struct SvgWriter<W> { struct246 impl<W> SvgWriter<W> { implementation247 pub fn new(upstream: W) -> SvgWriter<W> { in new()248 SvgWriter { in new()255 impl<W: Write> Write for SvgWriter<W> { implementation265 impl<W: Write> WriteColor for SvgWriter<W> { implementation291 fn write_first<W: Write>(first: bool, writer: &mut SvgWriter<W>) -> io::Result<bool> { in set_color()299 fn write_color<W: Write>(color: &Color, writer: &mut SvgWriter<W>) -> io::Result<()> { in set_color()