Flutter Engine
The Flutter Engine
Functions
SkBezierCurves.cpp File Reference
#include "src/base/SkBezierCurves.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkPoint_impl.h"
#include "src/base/SkCubics.h"
#include "src/base/SkQuads.h"
#include <cstddef>

Go to the source code of this file.

Functions

static double interpolate (double A, double B, double t)
 

Function Documentation

◆ interpolate()

static double interpolate ( double  A,
double  B,
double  t 
)
inlinestatic

Definition at line 18 of file SkBezierCurves.cpp.

18 {
19 return A + (B - A) * t;
20}