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
Element | |
Feature | |
Stroke |
Functions
to_svg |
generate an SVG from the ascii text input |
to_svg_with_size | |
to_svg_with_size_nooptimization |