Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPath.cpp1358 SkPoint unitPts[2]; in arcTo() local
1359 pointTransform.mapPoints(unitPts, srcPts, (int) SK_ARRAY_COUNT(unitPts)); in arcTo()
1360 SkVector delta = unitPts[1] - unitPts[0]; in arcTo()
1370 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo()
1373 unitPts[0] -= centerPoint; in arcTo()
1374 unitPts[1] -= centerPoint; in arcTo()
1375 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo()
1376 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo()
1398 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo()
1399 unitPts[1] += centerPoint; in arcTo()
[all …]