aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-10 02:01:30 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-10 02:01:30 +0000
commit439cb51451ef6f55f65dab90eb7f91acf67ea8fe (patch)
treed7d2553591f6a1dc77896f755de52ee8824210fc /experimental
parent3fffb2ee9fa01ae61efb2395973eb7575eda4c96 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5872 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental')
-rw-r--r--experimental/Intersection/EdgeDemo.cpp4
-rw-r--r--experimental/Intersection/Simplify.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/experimental/Intersection/EdgeDemo.cpp b/experimental/Intersection/EdgeDemo.cpp
index 14ede5ba3c..329f8e3b92 100644
--- a/experimental/Intersection/EdgeDemo.cpp
+++ b/experimental/Intersection/EdgeDemo.cpp
@@ -232,7 +232,7 @@ static void tryRonco(const SkPath& path) {
const SkRect& overall = path.getBounds();
const int divs = 50;
SkScalar cellWidth = overall.width() / divs * 2;
- SkScalar cellHeight = overall.height() / divs * 2;
+ SkScalar cellHeight = overall.height() / divs * 2;
SkRect target;
if (true) {
int xDiv = 21;
@@ -252,7 +252,7 @@ static void tryRonco(const SkPath& path) {
}
}
}
-
+
static bool drawLetters(SkCanvas* canvas, int step, bool useOld)
{
SkPath path;
diff --git a/experimental/Intersection/Simplify.cpp b/experimental/Intersection/Simplify.cpp
index 2ce83d686c..2409da30a8 100644
--- a/experimental/Intersection/Simplify.cpp
+++ b/experimental/Intersection/Simplify.cpp
@@ -628,7 +628,7 @@ public:
fSpans = &spans;
setSpans();
}
-
+
void setSpans() {
double startT = (*fSpans)[fStart].fT;
double endT = (*fSpans)[fEnd].fT;
@@ -680,7 +680,7 @@ public:
SkPath::Verb verb() const {
return fVerb;
}
-
+
void debugShow(const SkPoint& a) const {
SkDebugf(" d=(%1.9g,%1.9g) side=%1.9g\n", dx(), dy(), fSide);
}
@@ -2558,7 +2558,7 @@ public:
}
return -1;
}
-
+
// FIXME
// this returns at any difference in T, vs. a preset minimum. It may be
// that all callers to nextSpan should use this instead.