diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-07 20:32:37 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-07 20:32:37 +0000 |
| commit | 09741fe3e1e516790af651d2e522762552dcfc7a (patch) | |
| tree | 14b5f3328179d40b95a63b7554eddb923a828d52 /src | |
| parent | replace separate forward declarations by proper forward.h inclusion (diff) | |
| download | inkscape-09741fe3e1e516790af651d2e522762552dcfc7a.tar.gz inkscape-09741fe3e1e516790af651d2e522762552dcfc7a.zip | |
2geomify conversion to livaror in flood-context.cpp
(bzr r6215)
Diffstat (limited to 'src')
| -rw-r--r-- | src/flood-context.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp index fa1f5ae23..3c7282629 100644 --- a/src/flood-context.cpp +++ b/src/flood-context.cpp @@ -55,6 +55,7 @@ #include "libnr/nr-translate-matrix-ops.h" #include "libnr/nr-translate-scale-ops.h" #include "libnr/nr-matrix-ops.h" +#include <2geom/pathvector.h> #include "sp-item.h" #include "sp-root.h" #include "sp-defs.h" @@ -455,9 +456,9 @@ static void do_trace(bitmap_coords_info bci, guchar *trace_px, SPDesktop *deskto /* Set style */ sp_desktop_apply_style_tool (desktop, pathRepr, "tools.paintbucket", false); - NArtBpath *bpath = sp_svg_read_path(result.getPathData().c_str()); - Path *path = bpath_to_Path(bpath); - g_free(bpath); + Geom::PathVector pathv = sp_svg_read_pathv(result.getPathData().c_str()); + Path *path = new Path; + path->LoadPathVector(pathv); if (offset != 0) { |
