Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkPathBuilder.cpp498 SkPoint unitPts[2]; in arcTo() local
499 pointTransform.mapPoints(unitPts, srcPts, (int) SK_ARRAY_COUNT(unitPts)); in arcTo()
500 SkVector delta = unitPts[1] - unitPts[0]; in arcTo()
510 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo()
513 unitPts[0] -= centerPoint; in arcTo()
514 unitPts[1] -= centerPoint; in arcTo()
515 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
516 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
556 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo()
557 unitPts[1] += centerPoint; in arcTo()
[all …]
DSkPath.cpp1208 SkPoint unitPts[2]; in arcTo() local
1209 pointTransform.mapPoints(unitPts, srcPts, (int) SK_ARRAY_COUNT(unitPts)); in arcTo()
1210 SkVector delta = unitPts[1] - unitPts[0]; in arcTo()
1220 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo()
1223 unitPts[0] -= centerPoint; in arcTo()
1224 unitPts[1] -= centerPoint; in arcTo()
1225 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
1226 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
1266 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo()
1267 unitPts[1] += centerPoint; in arcTo()
[all …]
/third_party/flutter/skia/src/core/
DSkPath.cpp1470 SkPoint unitPts[2]; in arcTo() local
1471 pointTransform.mapPoints(unitPts, srcPts, (int) SK_ARRAY_COUNT(unitPts)); in arcTo()
1472 SkVector delta = unitPts[1] - unitPts[0]; in arcTo()
1482 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo()
1485 unitPts[0] -= centerPoint; in arcTo()
1486 unitPts[1] -= centerPoint; in arcTo()
1487 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
1488 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
1528 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo()
1529 unitPts[1] += centerPoint; in arcTo()
[all …]