diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-16 13:18:48 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-16 13:18:48 +0000 |
commit | 84ef10f8f91a48936db6e6742b4203fdc6a91b7a (patch) | |
tree | 10d770fa59409637212723425f0cfd71c27623e3 /samplecode/SamplePath.cpp | |
parent | ee51d1a6e43615ae640410013c36d2d9873e6aa5 (diff) |
cast to double
http://codereview.appspot.com/5645064/
git-svn-id: http://skia.googlecode.com/svn/trunk@3206 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SamplePath.cpp')
-rw-r--r-- | samplecode/SamplePath.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samplecode/SamplePath.cpp b/samplecode/SamplePath.cpp index 7e2750a354..ddfbb71659 100644 --- a/samplecode/SamplePath.cpp +++ b/samplecode/SamplePath.cpp @@ -67,7 +67,8 @@ static void test_cubic2() { SkIRect ir; r.round(&ir); printf("[%g %g %g %g] [%x %x %x %x]\n", - r.fLeft, r.fTop, r.fRight, r.fBottom, + SkScalarToDouble(r.fLeft), SkScalarToDouble(r.fTop), + SkScalarToDouble(r.fRight), SkScalarToDouble(r.fBottom), ir.fLeft, ir.fTop, ir.fRight, ir.fBottom); } |