Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

linear_interpolate

Linear interpolation between two values.

Returns start + (end - start) * t

Arguments

  • start - Start value (t=0)
  • end - End value (t=1)
  • t - Interpolation factor (typically 0 to 1)

Fully qualified path: cairo_fp::f128::math::interest::linear_interpolate

fn linear_interpolate(start: Fixed, end: Fixed, t: Fixed) -> Fixed