Home | History | Annotate | Download | only in core

Lines Matching refs:tangent

247                             SkScalar t, SkPoint* pos, SkVector* tangent) {
254 if (tangent) {
255 tangent->setNormalize(pts[1].fX - pts[0].fX, pts[1].fY - pts[0].fY);
259 SkEvalQuadAt(pts, t, pos, tangent);
260 if (tangent) {
261 tangent->normalize();
265 SkEvalCubicAt(pts, t, pos, tangent, NULL);
266 if (tangent) {
267 tangent->normalize();
422 SkVector* tangent) {
444 compute_pos_tan(&fPts[seg->fPtIndex], seg->fType, t, pos, tangent);
455 SkVector tangent;
457 if (this->getPosTan(distance, &position, &tangent)) {
460 matrix->setSinCos(tangent.fY, tangent.fX, 0, 0);