aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rrects.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-05 03:02:06 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-03-05 03:02:06 +0000
commitf1f66c0c8623805fdb88f09c0d87cbdd1745e12b (patch)
tree42465865038f6aed09759cfc097719dff7393adb /gm/rrects.cpp
parentfab349c0bf3a305b7a7388b77bab13b0f7b37393 (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13665 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/rrects.cpp')
-rw-r--r--gm/rrects.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/rrects.cpp b/gm/rrects.cpp
index 289aa13aa4..d92fb5a912 100644
--- a/gm/rrects.cpp
+++ b/gm/rrects.cpp
@@ -85,7 +85,7 @@ protected:
if (kAA_Draw_Type == fType) {
paint.setAntiAlias(true);
}
-
+
static const SkRect kMaxTileBound = SkRect::MakeWH(SkIntToScalar(kTileX), SkIntToScalar(kTileY));
int curRRect = 0;
@@ -108,7 +108,7 @@ protected:
return;
}
GrDrawState* drawState = tt.target()->drawState();
-
+
SkRRect rrect = fRRects[rrectIdx];
rrect.offset(SkIntToScalar(x), SkIntToScalar(y));
GrRRectEffect::EdgeType edgeType = (GrRRectEffect::EdgeType)
@@ -122,7 +122,7 @@ protected:
SkRect bounds = rrect.getBounds();
bounds.outset(2.f, 2.f);
-
+
tt.target()->drawSimpleRect(bounds);
}
#endif
@@ -162,7 +162,7 @@ protected:
private:
Type fType;
-
+
static const int kImageWidth = 640;
static const int kImageHeight = 480;