Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: gm/aaclip.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/nanobenchAndroid.cpp ('k') | gm/aaxfermodes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/aaclip.cpp
diff --git a/gm/aaclip.cpp b/gm/aaclip.cpp
index fae6109378c723a763263bb15afa20995dc880e0..1cb71577990ba75759a5c72c42db5ec42d4eb9b3 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;
};
« no previous file with comments | « bench/nanobenchAndroid.cpp ('k') | gm/aaxfermodes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698