add bandage to pin out-of-range values when converting our integral clip bounds to
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Jan 2012 17:36:27 +0000 (17:36 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 30 Jan 2012 17:36:27 +0000 (17:36 +0000)
commitfa4d5bd09f8f1a4a92b5ae0324800dd672760898
tree9b8e4f4042cd43111ae3d498e0d372f68d327b1c
parent5546ef2dd9edad601383b85907f677118f857332
add bandage to pin out-of-range values when converting our integral clip bounds to
a SkRect (when SkScalar==fixed). Eliminates a (valid) assert, but does not really
return the "correct" value (which can't be represented in SkRect).

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