Searched refs:unitPts (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/core/ |
D | SkPathBuilder.cpp | 503 SkPoint unitPts[2]; in arcTo() local 504 pointTransform.mapPoints(unitPts, srcPts, (int) std::size(unitPts)); in arcTo() 505 SkVector delta = unitPts[1] - unitPts[0]; in arcTo() 515 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo() 518 unitPts[0] -= centerPoint; in arcTo() 519 unitPts[1] -= centerPoint; in arcTo() 520 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo() 521 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo() 561 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo() 562 unitPts[1] += centerPoint; in arcTo() [all …]
|
D | SkPath.cpp | 1264 SkPoint unitPts[2]; in arcTo() local 1265 pointTransform.mapPoints(unitPts, srcPts, (int) std::size(unitPts)); in arcTo() 1266 SkVector delta = unitPts[1] - unitPts[0]; in arcTo() 1276 SkPoint centerPoint = unitPts[0] + unitPts[1]; in arcTo() 1279 unitPts[0] -= centerPoint; in arcTo() 1280 unitPts[1] -= centerPoint; in arcTo() 1281 SkScalar theta1 = SkScalarATan2(unitPts[0].fY, unitPts[0].fX); in arcTo() 1282 SkScalar theta2 = SkScalarATan2(unitPts[1].fY, unitPts[1].fX); in arcTo() 1322 unitPts[1].set(cosEndTheta, sinEndTheta); in arcTo() 1323 unitPts[1] += centerPoint; in arcTo() [all …]
|