diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-31 14:18:20 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-10-31 14:18:20 +0000 |
commit | 48dd1a26ec07c5baa04856202e4e7e2a53e4d7e5 (patch) | |
tree | a9ceb415616952a40de7f286a556e20e4841bbf3 /gm/filltypes.cpp | |
parent | 562a2ac95b8cd8b359574f8c4d6300b0475938db (diff) |
Import all GMs as Samples.
Review URL: http://codereview.appspot.com/5332043/
git-svn-id: http://skia.googlecode.com/svn/trunk@2564 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/filltypes.cpp')
-rw-r--r-- | gm/filltypes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/filltypes.cpp b/gm/filltypes.cpp index 0910f6cb1e..73c718e20b 100644 --- a/gm/filltypes.cpp +++ b/gm/filltypes.cpp @@ -13,6 +13,7 @@ class FillTypeGM : public GM { SkPath fPath; public: FillTypeGM() { + this->setBGColor(0xFFDDDDDD); const SkScalar radius = SkIntToScalar(45); fPath.addCircle(SkIntToScalar(50), SkIntToScalar(50), radius); fPath.addCircle(SkIntToScalar(100), SkIntToScalar(100), radius); @@ -56,8 +57,6 @@ protected: } virtual void onDraw(SkCanvas* canvas) { - canvas->drawColor(0xFFDDDDDD); - canvas->translate(SkIntToScalar(20), SkIntToScalar(20)); SkPaint paint; |