commit | 417446a1ce6563632df0e71c57a0516b4b5ef6f1 | [log] [tgz] |
---|---|---|
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Sep 19 16:32:49 2013 +0000 |
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Sep 19 16:32:49 2013 +0000 |
tree | 5790dd1653eff3694079fde48525d2e4062da92a | |
parent | 4ea2878f076cd41da803e6fcdcfb884b18a5b00c [diff] [blame] |
Type warning fix for: Add string art GM and sample. R=robertphillips@google.com Review URL: https://codereview.chromium.org/24258003 git-svn-id: http://skia.googlecode.com/svn/trunk@11384 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleStringArt.cpp b/samplecode/SampleStringArt.cpp index c6547ed..353d4cc 100644 --- a/samplecode/SampleStringArt.cpp +++ b/samplecode/SampleStringArt.cpp
@@ -37,7 +37,7 @@ SkPath path; path.moveTo(center); - while (length < (SkScalarHalf(SkMin32(this->width(), this->height())) - 10.f)) + while (length < (SkScalarHalf(SkMinScalar(this->width(), this->height())) - 10.f)) { SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX, length*SkScalarSin(step) + center.fY);