diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-01-12 23:25:39 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-01-12 23:25:39 +0000 |
| commit | 5eb9b4815a12cc0dafd07905f7715a7e15a92b41 (patch) | |
| tree | f39f5ae5a40012fa010402611d2b133553c22335 /src/svg | |
| parent | LPE: rename function getHelperPaths --> getCanvasIndicators (the function is ... (diff) | |
| download | inkscape-5eb9b4815a12cc0dafd07905f7715a7e15a92b41.tar.gz inkscape-5eb9b4815a12cc0dafd07905f7715a7e15a92b41.zip | |
update 2geom's copy to r2142
(bzr r12921)
Diffstat (limited to 'src/svg')
| -rw-r--r-- | src/svg/svg-path.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp index 135f9ff75..59dad9ead 100644 --- a/src/svg/svg-path.cpp +++ b/src/svg/svg-path.cpp @@ -40,7 +40,7 @@ #include <2geom/path.h> #include <2geom/curves.h> #include <2geom/sbasis-to-bezier.h> -#include <2geom/svg-path.h> +#include <2geom/path-sink.h> #include <2geom/svg-path-parser.h> #include <2geom/exception.h> #include <2geom/angle.h> @@ -59,13 +59,13 @@ Geom::PathVector sp_svg_read_pathv(char const * str) typedef std::back_insert_iterator<Geom::PathVector> Inserter; Inserter iter(pathv); - Geom::SVGPathGenerator<Inserter> generator(iter); + Geom::PathIteratorSink<Inserter> generator(iter); try { Geom::parse_svg_path(str, generator); } catch (Geom::SVGPathParseError &e) { - generator.finish(); + generator.flush(); // This warning is extremely annoying when testing //g_warning("Malformed SVG path, truncated path up to where error was found.\n Input path=\"%s\"\n Parsed path=\"%s\"", str, sp_svg_write_path(pathv)); } |
