aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/bug615686.cpp
Commit message (Collapse)AuthorAge
* always compute a cubic tangentGravatar caryclark2016-06-01
If the inflection of a cubic is also the cusp, the tangent is degenerate at that t when computed directly. Rather than giving up, subdivide the curve there and use the computed control points to compute the tangent. This strategy also removes the error paths where the tangent formerly could not be computed. R=reed@google.com BUG=615686 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2020293002 Review-Url: https://codereview.chromium.org/2020293002