commit | c6ce750c73c6586a5c2e88a0620b04e9569af401 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 08 13:15:37 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 08 13:15:37 2012 +0000 |
tree | bfa313ab7b16bae4898a767524f510218ca71161 | |
parent | 83edde21f3945f988656c023384bd33e87f8b48d [diff] [blame] |
Fixed some fixed point build Windows compiler complaints http://codereview.appspot.com/6197063/ git-svn-id: http://skia.googlecode.com/svn/trunk@3867 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleSlides.cpp b/samplecode/SampleSlides.cpp index 5251036..49a4ee5 100644 --- a/samplecode/SampleSlides.cpp +++ b/samplecode/SampleSlides.cpp
@@ -75,7 +75,7 @@ path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); path.close(); path.offset(SkIntToScalar(-6), 0); - scale(&path, 1.5); + scale(&path, SkFloatToScalar(1.5f)); paint->setPathEffect(new SkPath1DPathEffect(path, SkIntToScalar(21), 0, SkPath1DPathEffect::kRotate_Style))->unref();