Fix SkClassifyCubic for near-quadratics
Fixes the threshold logic for "0 ~= d1 && 0 ~= d2".
Previously, if d1 and d2 were both near zero, but on opposite sides
of the threshold, the curve could be misclassified as kCuspAtInfinity
and drawn incorrectly.
Commit-Queue: Chris Dalton <email@example.com>
Reviewed-by: Cary Clark <firstname.lastname@example.org>
2 files changed