diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-15 02:03:10 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-15 02:03:10 +0000 |
commit | a7aedfec9e28db36c97e49f11f2bc2e0eb624c30 (patch) | |
tree | 19fdac572c367271b0774f3e0c2e71f8ffce68c7 /bench/RectBench.cpp | |
parent | 4ef4f4a596d2a43d39342307099c58fe27604423 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6829 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/RectBench.cpp')
-rw-r--r-- | bench/RectBench.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp index 17fccfd3ab..4a2d3c57bd 100644 --- a/bench/RectBench.cpp +++ b/bench/RectBench.cpp @@ -23,7 +23,7 @@ public: SkRect fRects[N]; SkColor fColors[N]; - RectBench(void* param, int shift, int stroke = 0) + RectBench(void* param, int shift, int stroke = 0) : INHERITED(param) , fShift(shift) , fStroke(stroke) { @@ -185,7 +185,7 @@ protected: // Draw small aa rects in a grid across the screen for (SkScalar y = SK_ScalarHalf; y < H; y += SkIntToScalar(2)) { for (SkScalar x = SK_ScalarHalf; x < W; x += SkIntToScalar(2)) { - r.set(x, y, + r.set(x, y, x+SkFloatToScalar(1.5f), y+SkFloatToScalar(1.5f)); canvas->drawRect(r, paint); } |