All pastes #607746 Raw Edit

Untitled

public cpp v1 · immutable
·published 2007-07-07 21:41 UTC
rendered paste body
char const *svgdnep = "M1.1 2.2 L 3.3 4.4";    try {        pathv = Geom::parse_svg_path(svgdnep);    }    catch (std::runtime_error e) {        g_warning("SVGPathParseError: %s", e.what());    }    g_message("%s\nSVGD_to_2GeomPath %f", svgdnep, pathv[0].initialPoint()[0]);outputs:M1.1 2.2 L 3.3 4.4SVGD_to_2GeomPath 1,000000