diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-23 02:01:31 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-23 02:01:31 +0000 |
commit | 15ed90f6ee939055ce6e2e1ace0292e7c3d9cbfc (patch) | |
tree | 70664b1f8c98abed06df9bde971b164244b7c662 /samplecode | |
parent | dc73354e8d0a8b31a3056f1a7e034a81de2ff9a5 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6934 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode')
-rw-r--r-- | samplecode/SampleRotateCircles.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samplecode/SampleRotateCircles.cpp b/samplecode/SampleRotateCircles.cpp index 739900de62..8a04bcdcc4 100644 --- a/samplecode/SampleRotateCircles.cpp +++ b/samplecode/SampleRotateCircles.cpp @@ -21,7 +21,7 @@ class RotateCirclesView : public SampleView { public: RotateCirclesView() { this->setBGColor(SK_ColorLTGRAY); - + fAngle = 0; } @@ -55,7 +55,7 @@ protected: paint.setColor(rand.nextU()); paint.setAlpha(0xFF); color = ~color; - + paint.setStyle(SkPaint::kFill_Style); canvas->save(); @@ -70,9 +70,9 @@ protected: rotateAbout(canvas, fAngle * scale * sign, cx + DX, cy); canvas->drawCircle(cx + DX, cy, 10, paint); canvas->restore(); - + } - + fAngle = (fAngle + 1) % 360; this->inval(NULL); } |