Lines Matching refs:tan
320 SkPoint pos, tan; in draw_ribs() local
323 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()
324 tan.scale(radius); in draw_ribs()
325 SkPointPriv::RotateCCW(&tan); in draw_ribs()
326 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(), in draw_ribs()
327 pos.x() - tan.x(), pos.y() - tan.y(), paint); in draw_ribs()
334 pos.x() - tan.x() * 1.25f, pos.y() - tan.y() * 1.25f, font, labelP); in draw_ribs()
360 SkPoint pos, tan; in draw_t_divs() local
365 tan = pts[1] - pts[0]; in draw_t_divs()
367 pos.fX += tan.fX * t; in draw_t_divs()
368 pos.fY += tan.fY * t; in draw_t_divs()
372 tan = SkEvalQuadTangentAt(pts, t); in draw_t_divs()
377 tan = conic.evalTangentAt(t); in draw_t_divs()
380 SkEvalCubicAt(pts, t, &pos, &tan, nullptr); in draw_t_divs()
386 tan.setLength(radius); in draw_t_divs()
387 SkPointPriv::RotateCCW(&tan); in draw_t_divs()
388 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(), in draw_t_divs()
389 pos.x() - tan.x(), pos.y() - tan.y(), paint); in draw_t_divs()
394 pos.x() + tan.x() * 1.25f, pos.y() + tan.y() * 1.25f, SkFont(), paint); in draw_t_divs()