Crate svgbob [−] [src]
generate an SVG from the ascii text using the default settings
let input = r#" .-------------------------------------. | Hello here and there and everywhere | '-------------------------------------' "#; println!("svg: {}",svgbob::to_svg(input));
Structs
Grid | |
Loc | |
Point | |
Settings |
optimization options: 1. None -> Fastest, but not correct looking (paths and text are not reduced) 2. Fast -> Fast and correct looking (text are reduced) 3. All -> Correct looking but slow (paths and text are reduced) |
Enums
ArcFlag | |
Element | |
Feature | |
Stroke |
Functions
arc | |
arc_major | |
arrow_arc | |
arrow_line | |
arrow_sweep_arc | |
blank_text | |
line | |
open_circle | |
solid_circle | |
text | |
to_svg |
generate an SVG from the ascii text input |