diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2012-01-17 20:25:50 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2012-01-17 20:25:50 +0000 |
| commit | cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19 (patch) | |
| tree | fb8985008fda43525f296bc50584d8d4abc3d5dc /src/path-chemistry.cpp | |
| parent | change pencil tool dropdown shapes to use powerstroke, instead of pattern alo... (diff) | |
| download | inkscape-cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19.tar.gz inkscape-cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19.zip | |
turn SPPath into a class, and add some methods...
(bzr r10897)
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index b2680acce..3714f3531 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -104,7 +104,7 @@ sp_selected_path_combine(SPDesktop *desktop) did = true; } - SPCurve *c = sp_path_get_curve_for_edit(SP_PATH(item)); + SPCurve *c = SP_PATH(item)->get_curve_for_edit(); if (first == NULL) { // this is the topmost path first = item; parent = first->getRepr()->parent(); @@ -211,7 +211,7 @@ sp_selected_path_break_apart(SPDesktop *desktop) SPPath *path = SP_PATH(item); - SPCurve *curve = sp_path_get_curve_for_edit(path); + SPCurve *curve = path->get_curve_for_edit(); if (curve == NULL) { continue; } @@ -617,7 +617,7 @@ sp_selected_path_reverse(SPDesktop *desktop) did = true; SPPath *path = SP_PATH(i->data); - SPCurve *rcurve = sp_path_get_curve_reference(path)->create_reverse(); + SPCurve *rcurve = path->get_curve_reference()->create_reverse(); gchar *str = sp_svg_write_path(rcurve->get_pathvector()); if ( sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(path)) ) { |
