aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SamplePath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SamplePath.cpp')
-rw-r--r--samplecode/SamplePath.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/samplecode/SamplePath.cpp b/samplecode/SamplePath.cpp
index 12cc40245f..8baa359fa3 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);