Crate svg2ipe

Source
Expand description

§SVG2IPE

A library and CLI tool for converting SVG files to IPE (Ipe Extensible Drawing Editor) format.

§Features

  • Converts SVG path elements to IPE format
  • Supports all SVG path commands (MoveTo, LineTo, CurveTo, etc.)
  • Generates properly formatted IPE XML files

§Example

use svg2ipe;

let svg_content = r#"<svg><path d="M 0 0 L 10 10"/></svg>"#;
let ipe_output = svg2ipe::svg_to_ipe(&svg_content).unwrap();
println!("{}", ipe_output);

Modules§

convert
ipe
parser

Functions§

svg_to_ipe
Converts an SVG string to IPE format.