Lines Matching refs:tan
327 SkPoint pos, tan; in draw_ribs() local
330 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()
331 tan.scale(radius); in draw_ribs()
332 SkPointPriv::RotateCCW(&tan); in draw_ribs()
333 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(), in draw_ribs()
334 pos.x() - tan.x(), pos.y() - tan.y(), paint); in draw_ribs()
341 pos.x() - tan.x() * 1.25f, pos.y() - tan.y() * 1.25f, font, labelP); in draw_ribs()
367 SkPoint pos, tan; in draw_t_divs() local
372 tan = pts[1] - pts[0]; in draw_t_divs()
374 pos.fX += tan.fX * t; in draw_t_divs()
375 pos.fY += tan.fY * t; in draw_t_divs()
379 tan = SkEvalQuadTangentAt(pts, t); in draw_t_divs()
384 tan = conic.evalTangentAt(t); in draw_t_divs()
387 SkEvalCubicAt(pts, t, &pos, &tan, nullptr); in draw_t_divs()
393 tan.setLength(radius); in draw_t_divs()
394 SkPointPriv::RotateCCW(&tan); in draw_t_divs()
395 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(), in draw_t_divs()
396 pos.x() - tan.x(), pos.y() - tan.y(), paint); in draw_t_divs()
401 pos.x() + tan.x() * 1.25f, pos.y() + tan.y() * 1.25f, SkFont(), paint); in draw_t_divs()