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 <firstname.lastname@example.org>
Reviewed-by: Cary Clark <email@example.com>
2 files changed