Lines Matching defs:weights
51 * A scalar (float-valued weights) Bezier curve of arbitrary degree.
60 /** Creates a curve of the specified degree with weights initialized to 0. */
66 /** Creates a curve of specified degree with the given weights. */
67 ScalarBezCurve(int degree, const std::vector<float>& weights) : ScalarBezCurve(degree) {
69 SkASSERT(weights.size() == (size_t)degree + 1);
70 fWeights.insert(fWeights.begin(), weights.begin(), weights.end());
201 /** Multiplies the curve's weights by a constant value */
279 /** Returns the curve weights */
280 const std::vector<float>& weights() const { return fWeights; }