summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: de54885)
raw | patch | inline | side by side (parent: de54885)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:38:47 +0000 (23:38 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:38:47 +0000 (23:38 +0000) |
src/sp-offset.cpp | patch | blob | history | |
src/sp-star.cpp | patch | blob | history |
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp
index 5ff01814f06ae6a1c7fd2fc09ff1c79904799eb7..f3c5cfada5988841997575d936d56327c678c9f9 100644 (file)
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
}
// write that curve to "d"
- char *d = sp_svg_write_path (SP_CURVE_BPATH(((SPShape *) offset)->curve));
+ char *d = sp_svg_write_path (((SPShape *) offset)->curve->get_pathvector());
repr->setAttribute("d", d);
g_free (d);
diff --git a/src/sp-star.cpp b/src/sp-star.cpp
index 6543a98660040dea094e7a27d9bc5585b1c161a7..fbcad697586bb0c78a672271eb82254ce231466e 100644 (file)
--- a/src/sp-star.cpp
+++ b/src/sp-star.cpp
sp_repr_set_svg_double(repr, "inkscape:randomized", star->randomized);
}
- sp_star_set_shape ((SPShape *) star);
- char *d = sp_svg_write_path (SP_CURVE_BPATH(((SPShape *) star)->curve));
- repr->setAttribute("d", d);
- g_free (d);
+ sp_star_set_shape ((SPShape *) star);
+ char *d = sp_svg_write_path (((SPShape *) star)->curve->get_pathvector());
+ repr->setAttribute("d", d);
+ g_free (d);
if (((SPObjectClass *) (parent_class))->write)
((SPObjectClass *) (parent_class))->write (object, repr, flags);