aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/filltypes.cpp
diff options
context:
space:
mode:
authorGravatar rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-23 18:14:13 +0000
committerGravatar rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-23 18:14:13 +0000
commitd6176b0dcacb124539e0cfd051e6d93a9782f020 (patch)
tree9e6f4b465e54c9b26e1ba70cd8890b55abb08464 /gm/filltypes.cpp
parentfbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (diff)
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part II of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6474054 git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/filltypes.cpp')
-rw-r--r--gm/filltypes.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gm/filltypes.cpp b/gm/filltypes.cpp
index e096a6b1fc..86f1fbc9e1 100644
--- a/gm/filltypes.cpp
+++ b/gm/filltypes.cpp
@@ -12,10 +12,10 @@ namespace skiagm {
class FillTypeGM : public GM {
SkPath fPath;
public:
- FillTypeGM() {
+ FillTypeGM() {
this->setBGColor(0xFFDDDDDD);
}
-
+
void makePath() {
if (fPath.isEmpty()) {
const SkScalar radius = SkIntToScalar(45);
@@ -23,13 +23,13 @@ public:
fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius);
}
}
-
+
protected:
virtual SkString onShortName() {
return SkString("filltypes");
}
- virtual SkISize onISize() {
+ virtual SkISize onISize() {
return make_isize(835, 840);
}
@@ -65,7 +65,7 @@ protected:
this->makePath();
canvas->translate(SkIntToScalar(20), SkIntToScalar(20));
-
+
SkPaint paint;
const SkScalar scale = SkIntToScalar(5)/4;
@@ -82,7 +82,7 @@ protected:
canvas->translate(SkIntToScalar(450), 0);
showFour(canvas, scale, paint);
}
-
+
private:
typedef GM INHERITED;
};