8 #ifndef SkCubicMap_DEFINED
9 #define SkCubicMap_DEFINED
static bool SkScalarNearlyEqual(SkScalar x, SkScalar y, SkScalar tolerance=SK_ScalarNearlyZero)
Definition: SkScalar.h:119
Fast evaluation of a cubic ease-in / ease-out curve.
Definition: SkCubicMap.h:23
float computeYFromX(float x) const
static bool IsLinear(SkPoint p1, SkPoint p2)
Definition: SkCubicMap.h:27
SkPoint computeFromT(float t) const
SkCubicMap(SkPoint p1, SkPoint p2)