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/live_effects/lpe-parallel.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/live_effects/lpe-parallel.cpp')
| -rw-r--r-- | src/live_effects/lpe-parallel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-parallel.cpp b/src/live_effects/lpe-parallel.cpp index 2f3a6d0ce..dba0f3a8d 100644 --- a/src/live_effects/lpe-parallel.cpp +++ b/src/live_effects/lpe-parallel.cpp @@ -71,8 +71,8 @@ LPEParallel::doOnApply (SPLPEItem *lpeitem) { SPCurve *curve = SP_SHAPE(lpeitem)->curve; - A = curve->first_point().to_2geom(); - B = curve->last_point().to_2geom(); + A = curve->first_point(); + B = curve->last_point(); dir = unit_vector(B - A); offset_pt.param_set_and_write_new_value((A + B)/2 + dir.ccw() * 100); |
