Lines Matching refs:result

40     uint64_t result = 1;
42 result *= (n + 1 - i);
43 result /= i;
45 return result;
92 ScalarBezCurve result = curve;
97 result.fWeights[i] = result.fWeights[i - 1] * (1 - t) + result.fWeights[i] * t;
101 return result.fWeights[curve.fDegree];
110 void split(float tmin, float tmax, ScalarBezCurve* result) const {
115 rl.split(tRel, &ll, result);
125 ScalarBezCurve result = curve;
134 result.fWeights[i] = result.fWeights[i - 1] * (1 - t) + result.fWeights[i] * t;
137 left->fWeights[k] = result.fWeights[k];
138 right->fWeights[degree - k] = result.fWeights[degree];
196 std::vector<float> result;
197 ZeroSetRec(curve, 0, 1, kTol, &result);
198 return result;
203 ScalarBezCurve result = curve;
205 result.fWeights[k] *= f;
207 return result;
211 * Multiplies the two curves and returns the result.
220 ScalarBezCurve result(newDegree);
223 result.fWeights[k] = 0;
227 result.fWeights[k] += a.fWeights[i] * b.fWeights[k - i] * f;
231 return result;
238 ScalarBezCurve result(newDegree);
248 result.fWeights[k] = aSq + bSq;
251 return result;
256 ScalarBezCurve result = a;
257 result.sub(b);
258 return result;
291 std::vector<float>* result) {
300 result->push_back((tmin + tmax) * 0.5);
313 ZeroSetRec(left, tmin, tmid, tol, result);
314 ZeroSetRec(right, tmid, tmax, tol, result);
479 /** Appends path in reverse to result */
480 static void appendPathReversed(const SkPath& path, SkPath* result);
619 // Walk inner path in reverse, appending to result
664 std::vector<PathSegment> result;
736 result.push_back(quadApprox);
739 SkASSERT(!result.empty());
740 return result;
849 void SkVarWidthStroker::appendPathReversed(const SkPath& path, SkPath* result) {
865 result->lineTo(points[j - 1]);
871 result->quadTo(points[j - 1], points[j - 2]);
1162 // Elber-Cohen stroker result