give up on quad root if infinite
authorcaryclark <caryclark@google.com>
Tue, 5 Jan 2016 14:20:09 +0000 (06:20 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 5 Jan 2016 14:20:09 +0000 (06:20 -0800)
commitdbaec7323f20c3a7e8a234dac9dfb8a9446a2717
treed1498bb89786c04c4c37c1f6d850889a624aed3c
parent4e5a758f3832594cf1828d367496b5a80bcab8ee
give up on quad root if infinite

SkPath::contains() uses SkFindUnitQuadRoots to see
which side of a curve a point is on. If the
intermediate exceeds a float, return no found root.

R=reed@google.com
BUG=572406
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1556353002

Review URL: https://codereview.chromium.org/1556353002
src/core/SkGeometry.cpp
tests/PathTest.cpp