diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-08 07:01:56 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-08 07:01:56 +0000 |
commit | ab7442c8d733e0642d1cd80af23cdab43d77039e (patch) | |
tree | c3fcf6ed8a89914cfaabdcb159416c4828c62f94 /gm | |
parent | 44fb865e81a57e0c72de3109d0ed5ea428aa1f44 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12186 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/bigblurs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gm/bigblurs.cpp b/gm/bigblurs.cpp index 6b6c7cc79c..b885f4fe7f 100644 --- a/gm/bigblurs.cpp +++ b/gm/bigblurs.cpp @@ -14,7 +14,7 @@ namespace skiagm { // This GM exercises the blurred rect nine-patching special cases when the // blurred rect is very large and/or very far from the origin. -// It creates a large blurred rect/rectori then renders the 4 corners and the +// It creates a large blurred rect/rectori then renders the 4 corners and the // middle. class BigBlursGM : public GM { public: @@ -70,21 +70,21 @@ protected: for (int i = 0; i < 2; ++i) { for (int j = 0; j < SkBlurMaskFilter::kBlurStyleCount; ++j) { - SkMaskFilter* mf = SkBlurMaskFilter::Create((SkBlurMaskFilter::BlurStyle)j, + SkMaskFilter* mf = SkBlurMaskFilter::Create((SkBlurMaskFilter::BlurStyle)j, kSigma); blurPaint.setMaskFilter(mf)->unref(); for (int k = 0; k < (int)SK_ARRAY_COUNT(origins); ++k) { canvas->save(); - SkRect clipRect = SkRect::MakeXYWH(SkIntToScalar(desiredX), + SkRect clipRect = SkRect::MakeXYWH(SkIntToScalar(desiredX), SkIntToScalar(desiredY), - SkIntToScalar(kCloseUpSize), + SkIntToScalar(kCloseUpSize), SkIntToScalar(kCloseUpSize)); canvas->clipRect(clipRect, SkRegion::kReplace_Op, false); - canvas->translate(desiredX-origins[k].fX, + canvas->translate(desiredX-origins[k].fX, desiredY-origins[k].fY); if (0 == i) { |