Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkPath.cpp1450 SkPoint unitPts[2]; in arcTo() local
1451 pointTransform.mapPoints(unitPts, srcPts, (int) SK_ARRAY_COUNT(unitPts)); in arcTo()
1452 SkVector delta = unitPts[1] - unitPts[0]; in arcTo()
1462 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo()
1465 unitPts[0] -= centerPoint; in arcTo()
1466 unitPts[1] -= centerPoint; in arcTo()
1467 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
1468 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
1498 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo()
1499 unitPts[1] += centerPoint; in arcTo()
[all …]
/external/skia/src/core/
DSkPath.cpp1450 SkPoint unitPts[2]; in arcTo() local
1451 pointTransform.mapPoints(unitPts, srcPts, (int) SK_ARRAY_COUNT(unitPts)); in arcTo()
1452 SkVector delta = unitPts[1] - unitPts[0]; in arcTo()
1462 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo()
1465 unitPts[0] -= centerPoint; in arcTo()
1466 unitPts[1] -= centerPoint; in arcTo()
1467 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
1468 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
1498 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo()
1499 unitPts[1] += centerPoint; in arcTo()
[all …]