From b8d2a2d3b528d90cd88f96fd4a32b077c98776d5 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 17 Jul 2008 22:00:40 +0000 Subject: convert all SPCurve's points and matrices arguments and return types to 2Geom (bzr r6339) --- src/live_effects/lpe-parallel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/live_effects/lpe-parallel.cpp') 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); -- cgit v1.2.3