Descriptionadd more conservative check for wayward divide
When the parallel stroke to the curve can't be computed from
the intersection of the tangent lines, as straight line connects
the two points instead. Allow the intersection to succeed unless
the ratio isn't finite or the contribution of (1 - ratio) isn't
significant.
R=reed@google.com,fmalita@chromium.org
BUG=skia:4603
Committed: https://skia.googlesource.com/skia/+/b775e91e8760200f145a95672c29cc703b8a4f5f
Patch Set 1 #Patch Set 2 : make test simpler #
Total comments: 1
Patch Set 3 : greater than compare removes need for finite check #Messages
Total messages: 17 (9 generated)
|