From 952e32890426cd4b418b04a5db56d1fe2be0d14c Mon Sep 17 00:00:00 2001 From: knutux Date: Thu, 20 Apr 2006 07:58:11 +0000 Subject: [PATCH] Fix for [Bug-1473139] --- src/livarot/PathConversion.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/livarot/PathConversion.cpp b/src/livarot/PathConversion.cpp index d81785d20..a45e7548a 100644 --- a/src/livarot/PathConversion.cpp +++ b/src/livarot/PathConversion.cpp @@ -460,9 +460,9 @@ void Path::Convert(NRRectL *area, double treshhold) nextX = nData->p; lastMoveTo = AddPoint(nextX, true); descr_cmd[curP]->associated = lastMoveTo; - last_point_relation = 0; + last_point_relation = POINT_RELATION_TO_AREA(nextX, area); + start_elimination = false; - // et on avance curP++; break; } @@ -497,7 +497,7 @@ void Path::Convert(NRRectL *area, double treshhold) } else { start_elimination = false; } - + if (!replace) { descr_cmd[curP]->associated = AddPoint(nextX, false); } @@ -510,7 +510,6 @@ void Path::Convert(NRRectL *area, double treshhold) } } last_point_relation = curent_point_relation; - // et on avance curP++; break; } @@ -548,7 +547,6 @@ void Path::Convert(NRRectL *area, double treshhold) } } last_point_relation = curent_point_relation; - // et on avance curP++; break; } @@ -566,7 +564,7 @@ void Path::Convert(NRRectL *area, double treshhold) } } last_point_relation = 0; - // et on avance + curP++; break; } @@ -656,7 +654,7 @@ void Path::Convert(NRRectL *area, double treshhold) } last_point_relation = 0; - // et on avance + curP += nbInterm; break; } -- 2.30.2