Lines Matching refs:tangent
248 int segType, SkScalar t, SkPoint* pos, SkVector* tangent) {
262 if (tangent) {
263 tangent->setNormalize(endp->fX - pts[0].fX, endp->fY - pts[0].fY);
268 SkEvalQuadAt(pts, t, pos, tangent);
269 if (tangent) {
270 tangent->normalize();
274 SkEvalCubicAt(pts, t, pos, tangent, NULL);
275 if (tangent) {
276 tangent->normalize();
438 SkVector* tangent) {
463 t, pos, tangent);
470 SkVector tangent;
472 if (this->getPosTan(distance, &position, &tangent)) {
475 matrix->setSinCos(tangent.fY, tangent.fX, 0, 0);