Lines Matching refs:lerp

334 static inline float lerp(float coord_a, float coord_b, uint16_t t)  in lerp()  function
405 float a2x = lerp((float)fullarc.p0x, (float)fullarc.p1x, t2); in get_subarc_control_points()
406 float a2y = lerp((float)fullarc.p0y, (float)fullarc.p1y, t2); in get_subarc_control_points()
408 float b2x = lerp((float)fullarc.p1x, (float)fullarc.p2x, t2); in get_subarc_control_points()
409 float b2y = lerp((float)fullarc.p1y, (float)fullarc.p2y, t2); in get_subarc_control_points()
411 float c2x = lerp((float)fullarc.p2x, (float)fullarc.p3x, t2); in get_subarc_control_points()
412 float c2y = lerp((float)fullarc.p2y, (float)fullarc.p3y, t2); in get_subarc_control_points()
415 float d2x = lerp(a2x, b2x, t2); in get_subarc_control_points()
416 float d2y = lerp(a2y, b2y, t2); in get_subarc_control_points()
418 float e2x = lerp(b2x, c2x, t2); in get_subarc_control_points()
419 float e2y = lerp(b2y, c2y, t2); in get_subarc_control_points()
421 float pt2x = lerp(d2x, e2x, t2); in get_subarc_control_points()
422 float pt2y = lerp(d2y, e2y, t2); in get_subarc_control_points()
428 float a1x = lerp((float)fullarc.p0x, (float)fullarc.p1x, t1); in get_subarc_control_points()
429 float a1y = lerp((float)fullarc.p0y, (float)fullarc.p1y, t1); in get_subarc_control_points()
431 float b1x = lerp((float)fullarc.p1x, (float)fullarc.p2x, t1); in get_subarc_control_points()
432 float b1y = lerp((float)fullarc.p1y, (float)fullarc.p2y, t1); in get_subarc_control_points()
434 float c1x = lerp((float)fullarc.p2x, (float)fullarc.p3x, t1); in get_subarc_control_points()
435 float c1y = lerp((float)fullarc.p2y, (float)fullarc.p3y, t1); in get_subarc_control_points()
438 float d1x = lerp(a1x, b1x, t1); in get_subarc_control_points()
439 float d1y = lerp(a1y, b1y, t1); in get_subarc_control_points()
441 float e1x = lerp(b1x, c1x, t1); in get_subarc_control_points()
442 float e1y = lerp(b1y, c1y, t1); in get_subarc_control_points()
444 float pt1x = lerp(d1x, e1x, t1); in get_subarc_control_points()
445 float pt1y = lerp(d1y, e1y, t1); in get_subarc_control_points()
457 float b3x = lerp(a2x, d2x, t3); in get_subarc_control_points()
458 float b3y = lerp(a2y, d2y, t3); in get_subarc_control_points()
460 float c3x = lerp(d2x, pt2x, t3); in get_subarc_control_points()
461 float c3y = lerp(d2y, pt2y, t3); in get_subarc_control_points()
464 float e3x = lerp(b3x, c3x, t3); in get_subarc_control_points()
465 float e3y = lerp(b3y, c3y, t3); in get_subarc_control_points()
497 float ax = lerp((float)fullarc.p0x, (float)fullarc.p1x, t); in get_arc_control_points()
498 float ay = lerp((float)fullarc.p0y, (float)fullarc.p1y, t); in get_arc_control_points()
500 float bx = lerp((float)fullarc.p1x, (float)fullarc.p2x, t); in get_arc_control_points()
501 float by = lerp((float)fullarc.p1y, (float)fullarc.p2y, t); in get_arc_control_points()
503 float cx = lerp((float)fullarc.p2x, (float)fullarc.p3x, t); in get_arc_control_points()
504 float cy = lerp((float)fullarc.p2y, (float)fullarc.p3y, t); in get_arc_control_points()
507 float dx = lerp(ax, bx, t); in get_arc_control_points()
508 float dy = lerp(ay, by, t); in get_arc_control_points()
510 float ex = lerp(bx, cx, t); in get_arc_control_points()
511 float ey = lerp(by, cy, t); in get_arc_control_points()
515 arc->p0x = (int32_t)floorf(0.5f + lerp(dx, ex, t)); in get_arc_control_points()
516 arc->p0y = (int32_t)floorf(0.5f + lerp(dy, ey, t)); in get_arc_control_points()
531 arc->p3x = (int32_t)floorf(0.5f + lerp(dx, ex, t)); in get_arc_control_points()
532 arc->p3y = (int32_t)floorf(0.5f + lerp(dy, ey, t)); in get_arc_control_points()