Home
last modified time | relevance | path

Searched refs:ScalarBezCurve (Results 1 – 1 of 1) sorted by relevance

/external/skia/samplecode/
DSampleVariableWidthStroker.cpp53 class ScalarBezCurve { class
58 ScalarBezCurve() : fDegree(kDegreeInvalid) {} in ScalarBezCurve() function in __anondd06c43e0111::ScalarBezCurve
61 explicit ScalarBezCurve(int degree) : fDegree(degree) { in ScalarBezCurve() function in __anondd06c43e0111::ScalarBezCurve
67 ScalarBezCurve(int degree, const std::vector<float>& weights) : ScalarBezCurve(degree) { in ScalarBezCurve() function in __anondd06c43e0111::ScalarBezCurve
90 static float Eval(const ScalarBezCurve& curve, float t) { in Eval()
92 ScalarBezCurve result = curve; in Eval()
105 void split(float t, ScalarBezCurve* left, ScalarBezCurve* right) const { in split()
110 void split(float tmin, float tmax, ScalarBezCurve* result) const { in split()
113 ScalarBezCurve ll, rl, rr; in split()
119 static void Split(const ScalarBezCurve& curve, in Split()
[all …]