From 549c93ef979aeb4dcb65b3d0fca4b58e8ab62227 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Sat, 27 Oct 2012 02:01:15 +0000 Subject: [PATCH] Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@6161 2bbb7eff-a529-9590-31e7-b0007b416f81 --- experimental/Intersection/Simplify.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/experimental/Intersection/Simplify.cpp b/experimental/Intersection/Simplify.cpp index 3ecb164971..d5b4d9ec15 100644 --- a/experimental/Intersection/Simplify.cpp +++ b/experimental/Intersection/Simplify.cpp @@ -897,14 +897,14 @@ public: fEmpty = true; fDefer[0] = fDefer[1] = pt; } - + void deferredMoveLine(const SkPoint& pt) { if (!fHasMove) { deferredMove(pt); } deferredLine(pt); } - + bool hasMove() const { return fHasMove; } @@ -918,7 +918,7 @@ public: bool isClosed() const { return !fEmpty && fFirstPt == fDefer[1]; } - + void lineTo() { if (fDefer[0] == fDefer[1]) { return; @@ -952,7 +952,7 @@ protected: bool changedSlopes(const SkPoint& pt) const { if (fDefer[0] == fDefer[1]) { return false; - } + } SkScalar deferDx = fDefer[1].fX - fDefer[0].fX; SkScalar deferDy = fDefer[1].fY - fDefer[0].fY; SkScalar lineDx = pt.fX - fDefer[1].fX; @@ -1205,7 +1205,7 @@ public: init(pts, SkPath::kCubic_Verb, operand); fBounds.setCubicBounds(pts); } - + /* SkPoint */ void addCurveTo(int start, int end, PathWrapper& path, bool active) const { SkPoint edge[4]; const SkPoint* ePtr; @@ -1876,7 +1876,7 @@ public: SkASSERT(fDoneSpans <= fTs.count()); return fDoneSpans == fTs.count(); } - + bool done(int min) const { return fTs[min].fDone; } @@ -2250,7 +2250,7 @@ public: } continue; } - + if (!maxWinding && (!foundAngle || foundDone2)) { #if DEBUG_WINDING if (foundAngle && foundDone2) { @@ -2809,7 +2809,7 @@ public: } while (++index < fTs.count() && approximately_negative(fTs[index].fT - referenceT)); #endif } - + void markOneDone(const char* funName, int tIndex, int winding) { Span* span = markOneWinding(funName, tIndex, winding); if (!span) { @@ -3511,7 +3511,7 @@ public: } return false; } - + const SkPoint& end() const { const Segment& segment = fSegments.back(); return segment.pts()[segment.verb()]; @@ -3635,7 +3635,7 @@ public: } path.close(); } - + void toPartialBackward(PathWrapper& path) const { int segmentCount = fSegments.count(); for (int test = segmentCount - 1; test >= 0; --test) {