remove SkFloatToScalar macro
BUG=
R=reed@google.com, djsollen@google.com
Author: caryclark@google.com
Review URL: https://codereview.chromium.org/85463005
git-svn-id: http://skia.googlecode.com/svn/trunk@12385 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleArc.cpp b/samplecode/SampleArc.cpp
index 6af37b6..8209c3b 100644
--- a/samplecode/SampleArc.cpp
+++ b/samplecode/SampleArc.cpp
@@ -25,7 +25,7 @@
#include "SkParsePath.h"
static void testparse() {
SkRect r;
- r.set(0, 0, SkFloatToScalar(10), SkFloatToScalar(10.5f));
+ r.set(0, 0, 10, 10.5f);
SkPath p, p2;
SkString str, str2;
@@ -123,7 +123,7 @@
virtual void onDrawContent(SkCanvas* canvas) {
fSweep = SampleCode::GetAnimScalar(SkIntToScalar(360)/24,
SkIntToScalar(360));
-// fSweep = SkFloatToScalar(359.99f);
+// fSweep = 359.99f;
SkRect r;
SkPaint paint;