aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/pathinterior.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-06 02:01:25 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-06 02:01:25 +0000
commit0264fb4543b0d8cebe00f1ee32433784f4ceb074 (patch)
tree1bfdf9d97600948055e84a79437df7927534dff9 /gm/pathinterior.cpp
parent170bd792e17469769d145b7dc15dea6cd01b7966 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6687 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/pathinterior.cpp')
-rw-r--r--gm/pathinterior.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/pathinterior.cpp b/gm/pathinterior.cpp
index 2fde16259b..f7e0b5e867 100644
--- a/gm/pathinterior.cpp
+++ b/gm/pathinterior.cpp
@@ -74,7 +74,7 @@ protected:
path.setFillType(doEvenOdd ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType);
SkPath::Direction outerDir = outerCW ? SkPath::kCW_Direction : SkPath::kCCW_Direction;
SkPath::Direction innerDir = innerCW ? SkPath::kCW_Direction : SkPath::kCCW_Direction;
-
+
SkRect r = insetFirst ? inset(rect) : rect;
if (outerRR) {
path.addRoundRect(r, RAD, RAD, outerDir);
@@ -92,7 +92,7 @@ protected:
SkScalar dy = (i % 8) * rect.height() * 6 / 5;
i++;
path.offset(dx, dy);
-
+
this->show(canvas, path);
}
}