aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/aaclip.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-03-29 09:03:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-29 09:03:53 -0700
commit9d524f22bfde5dc3dc8f48e1be39bdebd3bb0304 (patch)
treefc75ea6f8bc83b552d9ac9c9b4ac0d5a967ee5ac /gm/aaclip.cpp
parente577693b3be06d90c824538e7eac0b25b0e02a99 (diff)
Style bikeshed - remove extraneous whitespace
Diffstat (limited to 'gm/aaclip.cpp')
-rw-r--r--gm/aaclip.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gm/aaclip.cpp b/gm/aaclip.cpp
index fae6109378..1cb7157799 100644
--- a/gm/aaclip.cpp
+++ b/gm/aaclip.cpp
@@ -206,7 +206,7 @@ public:
ClipCubicGM() {
fVPath.moveTo(W, 0);
fVPath.cubicTo(W, H-10, 0, 10, 0, H);
-
+
SkMatrix pivot;
pivot.setRotate(90, W/2, H/2);
fVPath.transform(pivot, &fHPath);
@@ -216,7 +216,7 @@ protected:
SkString onShortName() override {
return SkString("clipcubic");
}
-
+
SkISize onISize() override {
return SkISize::Make(400, 410);
}
@@ -224,10 +224,10 @@ protected:
void doDraw(SkCanvas* canvas, const SkPath& path) {
SkPaint paint;
paint.setAntiAlias(true);
-
+
paint.setColor(sk_tool_utils::color_to_565(0xFFCCCCCC));
canvas->drawPath(path, paint);
-
+
paint.setColor(SK_ColorRED);
paint.setStyle(SkPaint::kStroke_Style);
canvas->drawPath(path, paint);
@@ -242,7 +242,7 @@ protected:
canvas->drawRect(r, paint);
this->doDraw(canvas, path);
-
+
canvas->translate(dx, dy);
canvas->drawRect(r, paint);
@@ -256,7 +256,7 @@ protected:
canvas->translate(0, 200);
this->drawAndClip(canvas, fHPath, 200, 0);
}
-
+
private:
typedef skiagm::GM INHERITED;
};