summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 61ee746)
raw | patch | inline | side by side (parent: 61ee746)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:35:43 +0000 (23:35 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:35:43 +0000 (23:35 +0000) |
src/path-chemistry.cpp | patch | blob | history |
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index 05ea6c1300fb77dd97ae0e776db29b16de6d771b..35ba1f087b574cd521f82cabeac694d7a354413c 100644 (file)
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
g_free(style);
// set path data corresponding to new curve
- gchar *dstring = sp_svg_write_path(SP_CURVE_BPATH(curve));
+ gchar *dstring = sp_svg_write_path(curve->get_pathvector());
curve->unref();
repr->setAttribute("d", dstring);
if (path_effect)
Inkscape::XML::Node *repr = parent->document()->createElement("svg:path");
repr->setAttribute("style", style);
- gchar *str = sp_svg_write_path(SP_CURVE_BPATH(curve));
+ gchar *str = sp_svg_write_path(curve->get_pathvector());
repr->setAttribute("d", str);
if (path_effect)
repr->setAttribute("inkscape:original-d", str);
repr->setAttribute("inkscape:transform-center-y", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-y"), false);
/* Definition */
- gchar *def_str = sp_svg_write_path(SP_CURVE_BPATH(curve));
+ gchar *def_str = sp_svg_write_path(curve->get_pathvector());
repr->setAttribute("d", def_str);
g_free(def_str);
curve->unref();
SPCurve *rcurve = sp_path_get_curve_reference(path)->create_reverse();
- gchar *str = sp_svg_write_path(SP_CURVE_BPATH(rcurve));
+ gchar *str = sp_svg_write_path(rcurve->get_pathvector());
if ( sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(path)) ) {
SP_OBJECT_REPR(path)->setAttribute("inkscape:original-d", str);
} else {