Lines Matching refs:tangent
436 SkScalar t, SkPoint* pos, SkVector* tangent) {
443 if (tangent) {
444 tangent->setNormalize(pts[1].fX - pts[0].fX, pts[1].fY - pts[0].fY);
448 SkEvalQuadAt(pts, t, pos, tangent);
449 if (tangent) {
450 tangent->normalize();
454 SkConic(pts[0], pts[2], pts[3], pts[1].fX).evalAt(t, pos, tangent);
455 if (tangent) {
456 tangent
460 SkEvalCubicAt(pts, t, pos, tangent, nullptr);
461 if (tangent) {
462 tangent->normalize();
582 bool SkPathMeasure::getPosTan(SkScalar distance, SkPoint* pos, SkVector* tangent) {
604 compute_pos_tan(&fPts[seg->fPtIndex], seg->fType, t, pos, tangent);
615 SkVector tangent;
617 if (this->getPosTan(distance, &position, &tangent)) {
620 matrix->setSinCos(tangent.fY, tangent.fX, 0, 0);