Lines Matching full:tangent
244 SkScalar t, SkPoint* pos, SkVector* tangent) {
251 if (tangent) {
252 tangent->setNormalize(pts[1].fX - pts[0].fX, pts[1].fY - pts[0].fY);
256 SkEvalQuadAt(pts, t, pos, tangent);
257 if (tangent) {
258 tangent->normalize();
262 SkEvalCubicAt(pts, t, pos, tangent, NULL);
263 if (tangent) {
264 tangent->normalize();
420 SkVector* tangent) {
442 compute_pos_tan(&fPts[seg->fPtIndex], seg->fType, t, pos, tangent);
453 SkVector tangent;
455 if (this->getPosTan(distance, &position, &tangent)) {
458 matrix->setSinCos(tangent.fY, tangent.fX, 0, 0);