diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-17 22:00:40 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-17 22:00:40 +0000 |
| commit | b8d2a2d3b528d90cd88f96fd4a32b077c98776d5 (patch) | |
| tree | aa819f1acb877a25050e6dd559ba2b07daf69154 /src/nodepath.cpp | |
| parent | NR::Point : add cast operator to Geom::Point (diff) | |
| download | inkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.tar.gz inkscape-b8d2a2d3b528d90cd88f96fd4a32b077c98776d5.zip | |
convert all SPCurve's points and matrices arguments and return types to 2Geom
(bzr r6339)
Diffstat (limited to 'src/nodepath.cpp')
| -rw-r--r-- | src/nodepath.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp index e4b080f4f..d7ca69112 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -158,7 +158,7 @@ static void sp_nodepath_draw_helper_curve(Inkscape::NodePath::Path *np, SPDeskto // Draw helper curve if (np->show_helperpath) { SPCurve *helper_curve = np->curve->copy(); - helper_curve->transform(np->i2d ); + helper_curve->transform(to_2geom(np->i2d)); np->helper_path = sp_canvas_bpath_new(sp_desktop_controls(desktop), helper_curve); sp_canvas_bpath_set_stroke(SP_CANVAS_BPATH(np->helper_path), np->helperpath_rgba, np->helperpath_width, SP_STROKE_LINEJOIN_MITER, SP_STROKE_LINECAP_BUTT); sp_canvas_bpath_set_fill(SP_CANVAS_BPATH(np->helper_path), 0, SP_WIND_RULE_NONZERO); @@ -573,7 +573,7 @@ static void update_object(Inkscape::NodePath::Path *np) if (np->show_helperpath) { SPCurve * helper_curve = np->curve->copy(); - helper_curve->transform(np->i2d ); + helper_curve->transform(to_2geom(np->i2d)); sp_canvas_bpath_set_bpath(SP_CANVAS_BPATH(np->helper_path), helper_curve); helper_curve->unref(); } @@ -614,7 +614,7 @@ static void update_repr_internal(Inkscape::NodePath::Path *np) if (np->show_helperpath) { SPCurve * helper_curve = np->curve->copy(); - helper_curve->transform(np->i2d ); + helper_curve->transform(to_2geom(np->i2d)); sp_canvas_bpath_set_bpath(SP_CANVAS_BPATH(np->helper_path), helper_curve); helper_curve->unref(); } @@ -4798,7 +4798,7 @@ void sp_nodepath_show_helperpath(Inkscape::NodePath::Path *np, bool show) { if (show) { SPCurve *helper_curve = np->curve->copy(); - helper_curve->transform(np->i2d ); + helper_curve->transform(to_2geom(np->i2d)); if (!np->helper_path) { np->helper_path = sp_canvas_bpath_new(sp_desktop_controls(np->desktop), helper_curve); sp_canvas_bpath_set_stroke(SP_CANVAS_BPATH(np->helper_path), np->helperpath_rgba, np->helperpath_width, SP_STROKE_LINEJOIN_MITER, SP_STROKE_LINECAP_BUTT); |
