Home
last modified time | relevance | path

Searched refs:afterd (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/core/
DSkPathBuilder.cpp426 SkDVector befored, afterd; in arcTo() local
428 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()
DSkPath.cpp1343 SkDVector befored, afterd; in arcTo() local
1345 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()
/third_party/flutter/skia/src/core/
DSkPath.cpp1597 SkDVector befored, afterd; in arcTo() local
1599 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()