diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-06 23:38:47 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-06 23:38:47 +0000 |
| commit | 81af8b4eb52cd235f83841d140c221b2a1add77a (patch) | |
| tree | ba617df7377e8fa392a247346d564e47c95ef917 /src/sp-star.cpp | |
| parent | for path-chemistry.cpp, start using 2geompath for svg_write: sp_svg_write_pat... (diff) | |
| download | inkscape-81af8b4eb52cd235f83841d140c221b2a1add77a.tar.gz inkscape-81af8b4eb52cd235f83841d140c221b2a1add77a.zip | |
for sp-offset.cpp and sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );
(bzr r5842)
Diffstat (limited to 'src/sp-star.cpp')
| -rw-r--r-- | src/sp-star.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp index 6543a9866..fbcad6975 100644 --- a/src/sp-star.cpp +++ b/src/sp-star.cpp @@ -152,10 +152,10 @@ sp_star_write (SPObject *object, Inkscape::XML::Node *repr, guint flags) 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); |
