Searched refs:afterd (Results 1 – 2 of 2) sorted by relevance
409 SkDVector befored, afterd; in arcTo() local411 afterd.set({p2.fX - p1.fX, p2.fY - p1.fY}).normalize(); in arcTo()412 double cosh = befored.dot(afterd); in arcTo()413 double sinh = befored.cross(afterd); in arcTo()415 if (!befored.isFinite() || !afterd.isFinite() || SkScalarNearlyZero(SkDoubleToScalar(sinh))) { in arcTo()421 SkVector after = afterd.asSkVector(); in arcTo()
1334 SkDVector befored, afterd; in arcTo() local1336 afterd.set({x2 - x1, y2 - y1}).normalize(); in arcTo()1337 double cosh = befored.dot(afterd); in arcTo()1338 double sinh = befored.cross(afterd); in arcTo()1340 if (!befored.isFinite() || !afterd.isFinite() || SkScalarNearlyZero(SkDoubleToScalar(sinh))) { in arcTo()1346 SkVector after = afterd.asSkVector(); in arcTo()