Searched refs:afterd (Results 1 – 3 of 3) sorted by relevance
426 SkDVector befored, afterd; in arcTo() local428 afterd.set({p2.fX - p1.fX, p2.fY - p1.fY}).normalize(); in arcTo()429 double cosh = befored.dot(afterd); in arcTo()430 double sinh = befored.cross(afterd); in arcTo()432 if (!befored.isFinite() || !afterd.isFinite() || SkScalarNearlyZero(SkDoubleToScalar(sinh))) { in arcTo()438 SkVector after = afterd.asSkVector(); in arcTo()
1343 SkDVector befored, afterd; in arcTo() local1345 afterd.set({x2 - x1, y2 - y1}).normalize(); in arcTo()1346 double cosh = befored.dot(afterd); in arcTo()1347 double sinh = befored.cross(afterd); in arcTo()1349 if (!befored.isFinite() || !afterd.isFinite() || SkScalarNearlyZero(SkDoubleToScalar(sinh))) { in arcTo()1355 SkVector after = afterd.asSkVector(); in arcTo()
1597 SkDVector befored, afterd; in arcTo() local1599 afterd.set({x2 - x1, y2 - y1}).normalize(); in arcTo()1600 double cosh = befored.dot(afterd); in arcTo()1601 double sinh = befored.cross(afterd); in arcTo()1603 if (!befored.isFinite() || !afterd.isFinite() || SkScalarNearlyZero(SkDoubleToScalar(sinh))) { in arcTo()1609 SkVector after = afterd.asSkVector(); in arcTo()