/Volumes/disk/skia/trunk/include/utils/SkInterpolator.h File Reference

#include "SkScalar.h"
Include dependency graph for SkInterpolator.h:

Go to the source code of this file.

Classes

class  SkInterpolatorBase
struct  SkInterpolatorBase::SkTimeCode
class  SkInterpolator

Functions

SkScalar SkUnitCubicInterp (SkScalar value, SkScalar bx, SkScalar by, SkScalar cx, SkScalar cy)

Function Documentation

SkScalar SkUnitCubicInterp ( SkScalar  value,
SkScalar  bx,
SkScalar  by,
SkScalar  cx,
SkScalar  cy 
)

Given all the parameters are [0...1], apply the cubic specified by (0,0) (bx,by) (cx,cy) (1,1) to value, returning the answer, also [0...1].


Generated on Tue Oct 20 10:33:02 2009 for Skia by  doxygen 1.6.1