diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-18 02:01:09 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-09-18 02:01:09 +0000 |
commit | 54339a826e460c2371f946224cca4db8482d8f5b (patch) | |
tree | 91679532d26c13d927873b18e0882a7d36506225 /gm | |
parent | b1b7f707907b8c63b955cd2aef1cc454623e3656 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5577 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/distantclip.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gm/distantclip.cpp b/gm/distantclip.cpp index 6691d2a547..6fd14206c4 100644 --- a/gm/distantclip.cpp +++ b/gm/distantclip.cpp @@ -37,10 +37,10 @@ protected: rec->drawColor(0xffff0000); rec->save(); SkRect r = { - SkIntToScalar(-extents), - SkIntToScalar(offset - extents), - SkIntToScalar(extents), - SkIntToScalar(offset + extents) + SkIntToScalar(-extents), + SkIntToScalar(offset - extents), + SkIntToScalar(extents), + SkIntToScalar(offset + extents) }; SkPath p; p.addRoundRect(r, 5, 5); @@ -56,7 +56,7 @@ protected: // Finally we play the part of that second picture that should be green into the canvas. canvas->save(); - canvas->translate(SkIntToScalar(extents / 2), + canvas->translate(SkIntToScalar(extents / 2), SkIntToScalar(-(offset - extents / 2))); pict2.draw(canvas); canvas->restore(); |