since SkScalarCeil/Floor do not explicitly detect overflows from float->int,
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Feb 2012 15:32:42 +0000 (15:32 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 28 Feb 2012 15:32:42 +0000 (15:32 +0000)
commit07db86126a5bc30d4eaf00e69890e89d4add4370
tree1725f146f43f1aae6ba908db20e69c55ed32a847
parent5e5a095a94281167056da707b03930f135748d71
since SkScalarCeil/Floor do not explicitly detect overflows from float->int,
create special version of roundOut that checks if the result can fit, and if
not we abort the draw. 32bits (or 30 for antialiasing) should be enough for
anyone...

git-svn-id: http://skia.googlecode.com/svn/trunk@3271 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkScan_AntiPath.cpp