Index: samplecode/SamplePath.cpp |
diff --git a/samplecode/SamplePath.cpp b/samplecode/SamplePath.cpp |
index 12cc40245fae2ca1d9e1bfb4326d3cb1a1237ced..8baa359fa3d3301b89ef5b6fa5c7388849feab58 100644 |
--- a/samplecode/SamplePath.cpp |
+++ b/samplecode/SamplePath.cpp |
@@ -53,17 +53,6 @@ static void test_cubic2() { |
SkParsePath::FromSVGString(str, &path); |
{ |
-#ifdef SK_BUILD_FOR_WIN |
- // windows doesn't have strtof |
- float x = (float)strtod("9.94099e+07", nullptr); |
-#else |
- float x = strtof("9.94099e+07", nullptr); |
-#endif |
- int ix = (int)x; |
- int fx = (int)(x * 65536); |
- int ffx = SkScalarToFixed(x); |
- SkDebugf("%g %x %x %x\n", x, ix, fx, ffx); |
- |
SkRect r = path.getBounds(); |
SkIRect ir; |
r.round(&ir); |